4.1.4 If proxy kubeconfig file exists ensure ownership is set to root:root

Information

If kube-proxy is running, ensure that the file ownership of its kubeconfig file is set to root:root

The kubeconfig file for kube-proxy controls various parameters for the kube-proxy service in the worker node. 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 each worker node. For example,

chown root:root <proxy kubeconfig file>

Impact:

None

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6(2), 800-53|AC-6(5)

Plugin: Unix

Control ID: 47cf9051c0bfa336b5a16aaafea9266e470a910d2e99ef0c5d807cbfe269f4f0