TMAegisBeta
Weitere Regeln für openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.3.2

Ensure that the --use-service-account-credentials argument is set to true

MittelStufe 1Manuelle Prüfungopenshift

Beschreibung

Use individual service account credentials for each controller. 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, --use-service-account-credentials is set to true by default for the Controller Manager. The bootstrap configuration and overrides are available here: kube-controller-manager-pod bootstrap-config-overrides Run the following command on the master node: oc get configmaps config -n openshift-kube-controller-manager -ojson | \ jq -r '.data["config.yaml"]' | \ jq -r '.extendedArguments["use-service-account-credentials"][]' Verify that the --use-service-account-credentials argument is set to true.

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

set --use-service-account-credentials to true

Eigenschaften

Betriebssysteme
Beliebig
Tags
openshiftcontroller-manager
Referenz
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.3.2 Ensure that the --use-service-account-credentials argument is set to true