TMAegisベータ
openshift のその他のルール

Red Hat OpenShift

TMA-OPENSHIFT-5.2.9

Minimize the admission of containers with capabilities assigned

中レベル 2手動レビューopenshift

説明

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

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--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.

修正方法

修正方法: ガイダンスまたは IaC パッチ

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.

プロパティ

オペレーティングシステム
すべて
タグ
openshiftpoliciespod-security
参照
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.2.9 Minimize the admission of containers with capabilities assigned