Red Hat OpenShift
TMA-OPENSHIFT-5.7.1
Create administrative boundaries between resources using namespaces
低レベル 1手動レビューopenshift
説明
Use namespaces to isolate your Kubernetes objects. The benchmark marks this recommendation Manual.
チェック方法
監査方法: 手動レビュー
この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。
OpenShift Projects wrap Kubernetes namespaces and are used by default in OpenShift 4. Run the following command to obtain a list of all non-default OpenShift and Kubernetes namespaces in the cluster. oc get namespaces -o json | jq '.items[] | select(.metadata.name|test("(?!default|kube-.|openshift.)^.*")) | .metadata.name' Ensure that these namespaces are the ones you need and are adequately administered as per your requirements.
修正方法
修正方法: ガイダンスまたは IaC パッチ
Follow the documentation and create namespaces for objects in your deployment as you need them.
プロパティ
- オペレーティングシステム
- すべて
- タグ
- openshiftpolicies
- 参照
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.7.1 Create administrative boundaries between resources using namespaces