Verify User Who Owns The OpenShift Admin Kubeconfig File
An XCCDF Rule
Description
To properly set the owner of /etc/kubernetes/kubeconfig
, run the command:
$ sudo chown root /etc/kubernetes/kubeconfig
Rationale
The /etc/kubernetes/kubeconfig
file contains information about the administrative 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_owner_kubeconfig
- Severity
- Medium
- References
- Updated