Red Hat OpenShift
TMA-OPENSHIFT-5.2.9
Minimize the admission of containers with capabilities assigned
Trung bìnhCấp 2Xem xét thủ côngopenshift
Mô tả
Do not generally permit containers with capabilities. The benchmark marks this recommendation Manual.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.
Use the following command to list SCCs that drop all capabilities from containers: oc get scc -A -o json | jq '.items[] | select(.requiredDropCapabilities[]?|any(. == "ALL"; .)) | .metadata.name' Verify at least one SCC is returned.
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Review the use of capabilities in applications running on your cluster. Where a namespace contains applications which do not require any Linux capabilities to operate, consider adding a SCC which forbids the admission of containers which do not drop all capabilities.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- openshiftpoliciespod-security
- Tham chiếu
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.2.9 Minimize the admission of containers with capabilities assigned