1.1.14 Ensure that the kubeconfig file ownership is set to root:root

Information

Ensure that the kubeconfig file ownership is set to root:root.

Rationale:

The kubeconfig file contains the admin credentials for the cluster. You should set its file ownership to maintain the integrity of the file. The file should be owned by root:root.

Impact:

None.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

No remediation required; file permissions are managed by the operator.

Default Value:

By default, in OpenShift 4, kubeconfig file ownership is set to root:root.

See Also

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