Verify Permissions on the OpenShift Admin Kubeconfig File
An XCCDF Rule
Description
To properly set the permissions of /etc/kubernetes/kubeconfig
, run the command:
$ sudo chmod 0600 /etc/kubernetes/kubeconfig
Rationale
If the /etc/kubernetes/kubeconfig
file is writable by a group-owner or the
world the risk of its compromise is increased. The file contains the administration configuration of the
OpenShift cluster that is configured on the system. Protection of this file is
critical for OpenShift security.
- ID
- xccdf_org.ssgproject.content_rule_file_permissions_kubeconfig
- Severity
- Medium
- References
- Updated