TMAegis
openshift のその他のルール

Red Hat OpenShift

TMA-OPENSHIFT-1.3.3

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

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

説明

Explicitly set a service account private key file for service accounts on the controller manager. The benchmark marks this recommendation Manual.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。

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 ...

修正方法

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

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

プロパティ

オペレーティングシステム
すべて
タグ
openshiftcontroller-managernetwork
参照
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