More Info:
Verifies that the etcd pod manifest file is owned by root:root so only privileged users can modify the datastore configuration.Risk Level
MediumAddress
SecurityCompliance Standards
- CIS Kubernetes
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every control plane node, confirm the etcd manifest file exists and see its current ownership:
-
On every control plane node, set the file owner and group to root:root:
-
(Optional) Re-list the file to visually confirm ownership:
-
On every control plane node, verify the fix using the audit-style command:
The output must be:
Using kubectl
Using kubectl
kubectl cannot modify file ownership on the host filesystem where the etcd static pod manifest (
/etc/kubernetes/manifests/etcd.yaml) resides. This finding must be remediated directly on every control plane node’s OS; see the Manual Steps section for the required commands and procedure.Automation
Automation

