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

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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.

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

Impact:

None

Default Value:

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

References:

https://coreos.com/etcd/docs/latest/op-guide/configuration.html#data-dir

https://kubernetes.io/docs/admin/etcd/

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv6|14, CSCv7|5.2

Plugin: Unix

Control ID: fe563ddf4e435337d98b6db5cad8f10e793e657e3c27ec77c4d1602d6e0897b7