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