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