SV-274884r1107245_rule
V-274884
SRG-APP-000429-CTR-001060
CNTR-K8-001163
CAT II
10
For Kubernetes accounts that have read access to Secrets without a documented requirement, modify the corresponding Role or ClusterRole to remove list, watch, and get privileges for Secrets.
Review the Kubernetes accounts and their corresponding roles.
If any accounts have read (list, watch, get) access to Secrets without a documented organizational requirement, this is a finding.
Run the below command to list the workload resources for applications deployed to Kubernetes:
kubectl get all -A -o yaml
If Secrets are attached to applications without a documented requirement, this is a finding.
V-274884
False
CNTR-K8-001163
Review the Kubernetes accounts and their corresponding roles.
If any accounts have read (list, watch, get) access to Secrets without a documented organizational requirement, this is a finding.
Run the below command to list the workload resources for applications deployed to Kubernetes:
kubectl get all -A -o yaml
If Secrets are attached to applications without a documented requirement, this is a finding.
M
5376