Skip to content

Verify Permissions on The Kubelet Configuration File

An XCCDF Rule

Description

To properly set the permissions of /etc/kubernetes/kubelet/kubelet-config.json, run the command:

$ sudo chmod 0644 /etc/kubernetes/kubelet/kubelet-config.json

Rationale

If the kubelet configuration file is writable by a group-owner or the world the risk of its compromise is increased. The file contains the configuration of an OpenShift node that is configured on the system. Protection of this file is critical for OpenShift security.

ID
xccdf_org.ssgproject.content_rule_file_permissions_kubelet_conf
Severity
Medium
References
Updated