1.1.12 Ensure that the etcd data directory ownership is set to etcd:etcd

Information

Ensure that the etcd data directory ownership is set to etcd:etcd.

Rationale:

etcd is a highly-available key-value store used by Kubernetes deployments for persistent storage of all of its REST API objects. This data directory should be protected from any unauthorized reads or writes. It should be owned by etcd:etcd.

Impact:

None

Solution

On the etcd server node, get the etcd data directory, passed as an argument --data-dir, from the below command:

ps -ef | grep etcd

Run the below command (based on the etcd data directory found above). For example,

chown etcd:etcd /var/lib/etcd

Default Value:

By default, etcd data directory ownership is set to etcd:etcd.

See Also

https://workbench.cisecurity.org/files/4111

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|16

Plugin: Unix

Control ID: 75a2cab6ef8462983ab7ec805d918f48ab4d9e45a4206f8f2e45b16958d32619