More Info:
Verifies that the etcd pod manifest file has permissions of 600 or more restrictive to protect the datastore configuration.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:
-
On every control plane node, set the permissions of the etcd manifest file to 600:
-
(Optional, on every control plane node) Set the file owner and group to root (if not already):
-
On every control plane node, verify the permissions are now 600 or more restrictive:
Ensure the output shows:
Using kubectl
Using kubectl
kubectl cannot modify file permissions on control plane nodes, so it cannot fix the permissions on /etc/kubernetes/manifests/etcd.yaml. This must be corrected directly on every control plane node’s filesystem; see the Manual Steps section for the required host-level commands.Automation
Automation

