More Info:
Ensure that the /etc/kubernetes/manifests/etcd.yaml file has permissions of 644 or more restrictive.Risk Level
MediumAddress
SecurityCompliance Standards
- CIS Kubernetes
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every control plane node, check the current permissions of the etcd manifest file:
-
If the permissions are more permissive than 644 (e.g., 664, 666, 777), restrict them:
-
Confirm the new permissions are correctly set (this does not restart etcd; the static pod manifest is only read for pod config, not file mode):
-
Re-run the benchmark audit command to verify compliance:
Using kubectl
Using kubectl
kubectl cannot modify file permissions on the control plane node, including
/etc/kubernetes/manifests/etcd.yaml. To remediate this finding you must change the file mode directly on every control plane node (see the Manual Steps section).Automation
Automation

