SV-242449r961863_rule
V-242449
SRG-APP-000516-CTR-001325
CNTR-K8-003160
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:
chmod 644 <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 %a <path_to_client_ca_file>
If the client ca file has permissions more permissive than "644", this is a finding.
V-242449
False
CNTR-K8-003160
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 %a <path_to_client_ca_file>
If the client ca file has permissions more permissive than "644", this is a finding.
M
5376