SV-254572r1208192_rule
V-254572
SRG-APP-000378-CTR-000880
CNTR-R2-001270
CAT II
10
Edit the RKE2 Server configuration file on all RKE2 Control Plane hosts, located at /etc/rancher/rke2/config.yaml, to contain the following:
kube-apiserver-arg:
--authorization-mode=RBAC,Node
Once the configuration file is updated, restart the RKE2 Server. Run the command:
systemctl restart rke2-server
Ensure authorization-mode is set correctly in the apiserver.
Run this command on all RKE2 Control Plane hosts:
/bin/ps -ef | grep kube-apiserver | grep -v grep
If --authorization-mode is not set to "RBAC,Node" or is not configured, this is a finding.
(By default, RKE2 sets Node,RBAC as the parameter to the --authorization-mode argument.)
V-254572
False
CNTR-R2-001270
Ensure authorization-mode is set correctly in the apiserver.
Run this command on all RKE2 Control Plane hosts:
/bin/ps -ef | grep kube-apiserver | grep -v grep
If --authorization-mode is not set to "RBAC,Node" or is not configured, this is a finding.
(By default, RKE2 sets Node,RBAC as the parameter to the --authorization-mode argument.)
M
5486