The Kubernetes component etcd must be owned by etcd.
An XCCDF Rule
Description
<VulnDiscussion>The Kubernetes etcd key-value store provides a way to store data to the Control Plane. If these files can be changed, data to API object and the Control Plane would be compromised. The scheduler will implement 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-242445r879887_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Change the ownership of the manifest files to etcd:etcd by executing the command:
chown etcd:etcd /var/lib/etcd/*