TMAegisBeta
Weitere Regeln für openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.23

Ensure that the --service-account-lookup argument is set to true

MittelStufe 1Manuelle Prüfungopenshift

Beschreibung

Validate service account before validating token. 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 denies access for any OAuth Access token that does not exist in its etcd data store. OpenShift does not use the service-account-lookup flag even when it is set. Run the following command: oc get configmap config -n openshift-kube-apiserver -ojson | jq -r '.data["config.yaml"]' | jq '.apiServerArguments."service-account-lookup"[]' Verify that if the --service-account-lookup argument exists it is set to true.

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

Set the --service-account-lookup argument to true

Eigenschaften

Betriebssysteme
Beliebig
Tags
openshiftapi-server
Referenz
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.23 Ensure that the --service-account-lookup argument is set to true