Verify User Who Owns The Etcd Member Pod Specification File
An XCCDF Rule
Description
To properly set the owner of /etc/kubernetes/manifests/etcd-pod.yaml
, run the command:
$ sudo chown root /etc/kubernetes/manifests/etcd-pod.yaml
warning alert: Dependency Warning
This rule is only applicable for nodes that run the Etcd service.
The aforementioned service is only running on the nodes labeled
"master" by default.
Rationale
The etcd pod specification file controls various parameters that set the behavior of the etcd service in the master node. etcd is a highly-available key-value store which Kubernetes uses for persistent storage of all of its REST API object. You should restrict its file permissions to maintain the integrity of the file. The file should be writable by only the administrators on the system.
- ID
- xccdf_org.ssgproject.content_rule_file_owner_etcd_member
- Severity
- Medium
- References
- Updated