SV-254562r1137640_rule
V-254562
SRG-APP-000033-CTR-000100
CNTR-R2-000160
CAT I
10
Edit the RKE2 Configuration File /etc/rancher/rke2/config.yaml on the RKE2 Control Plane and set the following "kube-apiserver-arg" argument:
- anonymous-auth=false
Once the configuration file is updated, restart the RKE2 Server. Run the command:
systemctl restart rke2-server
Ensure anonymous-auth argument is set correctly.
Run this command on the RKE2 Control Plane:
/bin/ps -ef | grep kube-apiserver | grep -v grep
If --anonymous-auth is set to "true" or is not configured, this is a finding.
V-254562
False
CNTR-R2-000160
Ensure anonymous-auth argument is set correctly.
Run this command on the RKE2 Control Plane:
/bin/ps -ef | grep kube-apiserver | grep -v grep
If --anonymous-auth is set to "true" or is not configured, this is a finding.
M
5486