1.1.11 Ensure that the etcd data directory permissions are set to 700 or more restrictive

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 has permissions of 700 or more restrictive.

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 not be readable or writable by any group members or the world.

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,

chmod 700 /var/lib/etcd

Default Value:

By default, etcd data directory has permissions of 755.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 15441c2f3b1d3e91519fa0d7c4d125cd99674f6ec5f6b6cb630b0458c353e550