TMAegisBeta
Weitere Regeln für openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.11

Ensure that the admission control plugin NamespaceLifecycle is set

MittelStufe 1Manuelle Prüfungopenshift

Beschreibung

Reject creating objects in a namespace that is undergoing termination. 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.

OpenShift enables the NamespaceLifecycle plugin by default. Use the following command to obtain a list of configured admission controllers: oc -n openshift-kube-apiserver get configmap config -o json | jq -r '.data."config.yaml"' | jq '.apiServerArguments."enable-admission-plugins"' Verify that NamespaceLifecycle is present in the returned list.

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

Configure NamespaceLifecycle admission controller.

Eigenschaften

Betriebssysteme
Beliebig
Tags
openshiftapi-server
Referenz
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.11 Ensure that the admission control plugin NamespaceLifecycle is set