TMAegis
Weitere Regeln für openshift

TMA-OPENSHIFT-1.2.13

Ensure that the admission control plugin NodeRestriction is set

HochStufe 1Manuelle Prüfungopenshift

Beschreibung

Limit the Node and Pod objects that a kubelet could modify. 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.

In OpenShift, the NodeRestriction admission plugin is enabled 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 the list includes NodeRestriction.

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

Enable the NodeRestriction admission plugin.

Eigenschaften

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