Skip to content

Verify Permissions on The Kubelet Configuration File

An XCCDF Rule

Description

To properly set the permissions of /var/lib/kubelet/config.json, run the command:

$ sudo chmod 0600 /var/lib/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
Severity
Medium
References
Updated