Skip to main content

More Info:

Ensure that the kubelet.conf file has permissions of 644 or more restrictive

Risk Level

Medium

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Using Console

Automated AAC auditing has been modified to allow CIS-CAT to input a variable for the <PATH>/<FILENAME> of the kubelet config file. Please set $kubelet_config=<PATH> based on the file location on your system for example: export kubelet_config=/etc/kubernetes/kubelet.conf To perform the audit manually: Run the below command (based on the file location on your system) on each worker node. For example, stat -c “%a %U:%G” /etc/kubernetes/kubelet.conf Verify that the ownership is set to root:root. Verify that the permissions are 600 or more restrictive.

Additional Reading: