TMAegisBeta
更多 openshift 規則

Red Hat OpenShift

TMA-OPENSHIFT-5.2.7

Minimize the admission of containers with the NET_RAW capability

中等級 1人工審核openshift

說明

Do not generally permit containers with the potentially dangerous NET_RAW capability. The benchmark marks this recommendation Manual.

檢查方式

稽核方法: 人工審核

此項建議無法自動檢查。當您傳入 --include-manual 時,掃描結果會列出此項目並附帶這些說明。

Use the following command to list all SCCs that drop all capabilities: oc get scc -A -o json | jq '.items[] | select(.requiredDropCapabilities[]?|any(. == "ALL"; .)) | .metadata.name' Verify at least one SCC is returned.

修補方式

修補方法: 操作指南或基礎設施修補檔

Create an SCC that sets requiredDropCapabilities to include ALL or at least NET_RAW and take it into use by assigning it to applicable users and groups.

屬性

作業系統
不限
標籤
openshiftpoliciespod-security
參考資料
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.2.7 Minimize the admission of containers with the NET_RAW capability