Red Hat OpenShift
TMA-OPENSHIFT-1.2.23
Ensure that the --service-account-lookup argument is set to true
SedangLevel 1Tinjauan manualopenshift
Deskripsi
Validate service account before validating token. The benchmark marks this recommendation Manual.
Cara pemeriksaan
Metode audit: Tinjauan manual
Rekomendasi ini tidak dapat diperiksa secara otomatis. Pemindaian akan menampilkannya beserta petunjuk ini saat Anda memberikan opsi --include-manual.
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.
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
Set the --service-account-lookup argument to true
Properti
- Sistem operasi
- Apa saja
- Tag
- openshiftapi-server
- Referensi
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.23 Ensure that the --service-account-lookup argument is set to true