TMAegis
Weitere Regeln für openshift

TMA-OPENSHIFT-1.3.3

Ensure that the --service-account-private-key-file argument is set as appropriate

HochStufe 1Manuelle Prüfungopenshift

Beschreibung

Explicitly set a service account private key file for service accounts on the controller manager. 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 starts the Kubernetes Controller Manager with service-account-private-key-file set to /etc/kubernetes/static-pod-resources/secrets/service-account-private-key/service-account.key. The bootstrap configuration and overrides are available here: kube-controller-manager-pod bootstrap-config-overrides Run the following command: oc get configmaps config -n openshift-kube-controller-manager -ojson | \ jq -r '.data["config.yaml"]' | \ jq -r '.extendedArguments["service-account-private-key-file"][]' Verify that the following is returned ...

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

set --service-account-private-key-file argument as appropriate

Eigenschaften

Betriebssysteme
Beliebig
Tags
openshiftcontroller-managernetwork
Referenz
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.3.3 Ensure that the --service-account-private-key-file argument is set as appropriate