More Info:
Verifies that —etcd-cafile is set so the API server verifies the etcd server certificate against a trusted certificate authority.Risk Level
HighAddress
SecurityCompliance Standards
- CIS Kubernetes
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
Log in to each control plane node
-
Confirm the current ownership of the API server manifest file
-
Change the file owner and group to root:root (if not already)
-
(Optional) Reconfirm file permissions are appropriate (readable only by root and system processes)
- Repeat steps 1–4 on every control plane node in the cluster.
-
Verification (on each control plane node)
Using kubectl
Using kubectl
kubectl cannot modify file ownership or other host-level settings for
/etc/kubernetes/manifests/kube-apiserver.yaml on control plane nodes. This finding must be fixed directly on each control plane node’s filesystem; see the Manual Steps section for the exact commands to run over SSH.Automation
Automation

