The Kubernetes component manifests must be owned by root.
An XCCDF Rule
Description
<VulnDiscussion>The Kubernetes manifests are those files that contain the arguments and settings for the Control Plane services. These services are etcd, the api server, controller, proxy, 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 these manifests.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-242444r879887_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Change the ownership of the manifest files to root: root by executing the command:
chown root:root /etc/kubernetes/manifests/*