For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/default_rules/def-000-1bz.md. A documentation index is available at /llms.txt.

An AKS Cluster's kubelet configuration file ownership should be assigned to root

Description

If the kubelet refers to a configuration file with the --config argument, you should set its file ownership to maintain integrity. The file should be owned by root:root.

Remediation

Run the following command to fix the kubelet configuration file’s permissions:

chown root:root /etc/kubernetes/kubelet/kubelet-config.json

Note: The path above is the default location in AKS.