TMAegisBeta
Weitere Regeln für openshift

Red Hat OpenShift

TMA-OPENSHIFT-5.2.9

Minimize the admission of containers with capabilities assigned

MittelStufe 2Manuelle Prüfungopenshift

Beschreibung

Do not generally permit containers with capabilities. The benchmark marks this recommendation Manual.

So wird geprüft

Prüfmethode: Manuelle Prüfung

Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.

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.

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

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.

Eigenschaften

Betriebssysteme
Beliebig
Tags
openshiftpoliciespod-security
Referenz
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.2.9 Minimize the admission of containers with capabilities assigned