Skip to content

The Kubernetes conf files must be owned by root.

An XCCDF Rule

Description

<VulnDiscussion>The Kubernetes conf files contain the arguments and settings for the Control Plane services. These services are controller and scheduler. If these files can be changed, the scheduler will be implementing the changes immediately. Many of the security settings within the document are implemented through this file.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>

ID
SV-242446r879887_rule
Severity
Medium
References
Updated



Remediation - Manual Procedure

Change the ownership of the conf files to root: root by executing the command:

chown root:root /etc/kubernetes/admin.conf 
chown root:root /etc/kubernetes/scheduler.conf 
chown root:root /etc/kubernetes/controller-manager.conf