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

Information

Ensure that the etcd data directory has permissions of 700 or more restrictive.

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.

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

Impact:

None

See Also

https://workbench.cisecurity.org/benchmarks/17568

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|14.6

Plugin: Unix

Control ID: d5c6b8d533c09ff5ac1dff2494b0ba1fbe315e3ec86c03944083d4ec16dbbbba