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

Red Hat OpenShift

TMA-OPENSHIFT-5.2.4

Minimize the admission of containers wishing to share the host network namespace

高レベル 1手動レビューopenshift

説明

Do not generally permit containers to be run with the hostNetwork flag set to true. The benchmark marks this recommendation Manual.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。

Use the following command to list all SCCs with allowHostNetwork set to false: oc get scc -A -o json | jq '.items[] | select(.allowHostNetwork==false) | .metadata.name' Verify at least one SCC is returned.

修正方法

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

Create an SCC that sets allowHostNetwork to false and take it into use by assigning it to applicable users and groups.

プロパティ

オペレーティングシステム
すべて
タグ
openshiftpoliciespod-securitynetwork
参照
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.2.4 Minimize the admission of containers wishing to share the host network namespace