4.1.10 If the kubelet config.yaml configuration file is being used validate file ownership is set to root:root

Information

Ensure that if the kubelet refers to a configuration file with the --config argument, that file is owned by root:root.

The kubelet reads various parameters, including security settings, from a config file specified by the --config argument. If this file is specified you should restrict its file permissions to maintain the integrity of the file. The file should be owned by root:root.

Solution

Run the following command (using the config file location identied in the Audit step)

chown root:root /etc/kubernetes/kubelet.conf

Impact:

None

See Also

https://workbench.cisecurity.org/benchmarks/17568

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6(2), 800-53|AC-6(5)

Plugin: Unix

Control ID: c010767ba0e41b6604f7407fe12aee7e3f3cb042702f4eb5daa8ae7c0ef68995