SV-242460r712736_rule
V-242460
SRG-APP-000516-CTR-001335
CNTR-K8-003270
CAT II
10
Change the permissions of the conf files to "644" by executing the command:
chmod 644 /etc/kubernetes/admin.conf
chmod 644 /etc/kubernetes/scheduler.conf
chmod 644 /etc/kubernetes/controller-manager.conf
Review the permissions of the Kubernetes config files by using the command:
stat -c %a /etc/kubernetes/admin.conf
stat -c %a /etc/kubernetes/scheduler.conf
stat -c %a /etc/kubernetes/controller-manager.conf
If any of the files are have permissions more permissive than "644", this is a finding.
V-242460
False
CNTR-K8-003270
Review the permissions of the Kubernetes config files by using the command:
stat -c %a /etc/kubernetes/admin.conf
stat -c %a /etc/kubernetes/scheduler.conf
stat -c %a /etc/kubernetes/controller-manager.conf
If any of the files are have permissions more permissive than "644", this is a finding.
M
5376