1.1.2 Ensure that the API server pod specification file ownership is set to root:root

Warning! Audit Deprecated

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

View Next Audit Version

Information

Ensure that the API server pod specification file ownership is set to root:root.

Rationale:

The API server pod specification file controls various parameters that set the behavior of the API server. You should set its file ownership to maintain the integrity of the file. The file should be owned by root:root.

Solution

Run the below command (based on the file location on your system) on the master node. For example,

chown root:root /etc/kubernetes/manifests/kube-apiserver.yaml

Impact:

None

Default Value:

By default, the kube-apiserver.yaml file ownership is set to root:root.

References:

https://kubernetes.io/docs/admin/kube-apiserver/

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 5c90eed634897a11897eebdcec05a1bb01343b6887ae9a0a7ba81a1eca65686e