TMAegis
更多 kubernetes 規則

TMA-KUBERNETES-1.2.27

Ensure that the --encryption-provider-config argument is set as appropriate

高等級 1人工審核kubernetes

說明

Encrypt etcd key-value store. The benchmark marks this recommendation Manual.

檢查方式

稽核方法: 人工審核

此項建議無法自動檢查。當您傳入 --include-manual 時,掃描結果會列出此項目並附帶這些說明。

Run the following command on the Control Plane node: ps -ef | grep kube-apiserver Verify that the --encryption-provider-config argument is set to a EncryptionConfig file. Additionally, ensure that the EncryptionConfig file has all the desired resources covered especially any secrets.

修補方式

修補方法: 操作指南或基礎設施修補檔

Follow the Kubernetes documentation and configure a EncryptionConfig file. Then, edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml on the master node and set the --encryption-provider-config parameter to the path of that file: --encryption-provider-config=</path/to/EncryptionConfig/File>

屬性

作業系統
不限
標籤
kubernetesapi-serversecrets
參考資料
CIS Kubernetes Benchmark v2.1.0 - 1.2.27 Ensure that the --encryption-provider-config argument is set as appropriate