SV-242455r961863_rule
V-242455
SRG-APP-000516-CTR-001325
CNTR-K8-003220
CAT II
10
Change the permissions of kubeadm.conf to "644" by executing the command:
chmod 644 <kubeadm.conf path>
Review the kubeadm.conf file :
Get the path for kubeadm.conf by running:
systemctl status kubelet
Note the configuration file installed by the kubeadm is written to
(Default Location: /etc/systemd/system/kubelet.service.d/10-kubeadm.conf)
stat -c %a <kubeadm.conf path>
If the file has permissions more permissive than "644", this is a finding.
V-242455
False
CNTR-K8-003220
Review the kubeadm.conf file :
Get the path for kubeadm.conf by running:
systemctl status kubelet
Note the configuration file installed by the kubeadm is written to
(Default Location: /etc/systemd/system/kubelet.service.d/10-kubeadm.conf)
stat -c %a <kubeadm.conf path>
If the file has permissions more permissive than "644", this is a finding.
M
5376