More Info:
Ensure that the /etc/kubernetes/manifests/etcd.yaml file ownership is set to root:root.Risk Level
LowAddress
SecurityCompliance Standards
- CIS Kubernetes
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every control plane node, confirm the etcd manifest exists and view its current ownership:
-
On every control plane node, set the file owner and group to root:
-
(Optional) Re-check the file metadata directly:
-
On every control plane node, verify the fix using the benchmark audit command:
Confirm the output is:
Using kubectl
Using kubectl
kubectl cannot modify host filesystem permissions or ownership, so it cannot be used to change
/etc/kubernetes/manifests/etcd.yaml to root:root. This must be fixed directly on every control plane node at the OS level; see the Manual Steps section for the required commands.Automation
Automation

