SV-242450r961863_rule
V-242450
SRG-APP-000516-CTR-001325
CNTR-K8-003170
CAT II
10
On the Control Plane, run the command:
ps -ef | grep kubelet
Remove the "client-ca-file" option.
Note the path to the config file (identified by --config).
Run the command:
grep -i clientCAFile <path_to_config_file>
Note the path to the client ca file.
Run the command:
chown root:root <path_to_client_ca_file>
On the Control Plane, run the command:
ps -ef | grep kubelet
If the "client-ca-file" option exists, this is a finding.
Note the path to the config file (identified by --config).
Run the command:
grep -i clientCAFile <path_to_config_file>
Note the path to the client ca file.
Run the command:
stat -c %U:%G <path_to_client_ca_file>
If the command returns any non root:root file permissions, this is a finding.
V-242450
False
CNTR-K8-003170
On the Control Plane, run the command:
ps -ef | grep kubelet
If the "client-ca-file" option exists, this is a finding.
Note the path to the config file (identified by --config).
Run the command:
grep -i clientCAFile <path_to_config_file>
Note the path to the client ca file.
Run the command:
stat -c %U:%G <path_to_client_ca_file>
If the command returns any non root:root file permissions, this is a finding.
M
5376