SV-254567r1016559_rule
V-254567
SRG-APP-000171-CTR-000435
CNTR-R2-000800
CAT II
10
Any secrets stored as environment variables must be moved to the secret files with the proper protections and enforcements or placed within a password vault.
On the RKE2 Control Plane, run the following commands:
kubectl get pods -A
kubectl get jobs -A
kubectl get cronjobs -A
This will output all running pods, jobs, and cronjobs.
Evaluate each of the above commands using the respective commands below:
kubectl get pod -n <namespace> <pod> -o yaml
kubectl get job -n <namespace> <job> -o yaml
kubectl get cronjob -n <namespace> <cronjob> -o yaml
If any contain sensitive values as environment variables, this is a finding.
V-254567
False
CNTR-R2-000800
On the RKE2 Control Plane, run the following commands:
kubectl get pods -A
kubectl get jobs -A
kubectl get cronjobs -A
This will output all running pods, jobs, and cronjobs.
Evaluate each of the above commands using the respective commands below:
kubectl get pod -n <namespace> <pod> -o yaml
kubectl get job -n <namespace> <job> -o yaml
kubectl get cronjob -n <namespace> <cronjob> -o yaml
If any contain sensitive values as environment variables, this is a finding.
M
5486