TMAegisベータ
openshift のその他のルール

Red Hat OpenShift

TMA-OPENSHIFT-1.2.23

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

中レベル 1手動レビューopenshift

説明

Validate service account before validating token. The benchmark marks this recommendation Manual.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--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.

修正方法

修正方法: ガイダンスまたは IaC パッチ

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

プロパティ

オペレーティングシステム
すべて
タグ
openshiftapi-server
参照
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.23 Ensure that the --service-account-lookup argument is set to true