Skip to content

Commit

Permalink
Merge pull request #326 from vardhaman22/0.5/fix-k3s-cis-1.9
Browse files Browse the repository at this point in the history
[release/v0.5] make 5.1.2 and 5.1.4 checks manual
  • Loading branch information
vardhaman22 authored Jan 8, 2025
2 parents 9aa1832 + d288b20 commit 318f940
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/cfg/k3s-cis-1.9/policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ groups:
scored: true

- id: 5.1.2
type: manual
text: "Minimize access to secrets (Automated)"
audit: "echo \"canGetListWatchSecretsAsSystemAuthenticated: $(kubectl auth can-i get,list,watch secrets --all-namespaces --as=system:authenticated)\""
tests:
Expand Down Expand Up @@ -91,6 +92,7 @@ groups:
scored: true

- id: 5.1.4
type: manual
text: "Minimize access to create pods (Automated)"
audit: |
echo "canCreatePodsAsSystemAuthenticated: $(kubectl auth can-i create pods --all-namespaces --as=system:authenticated)"
Expand Down

0 comments on commit 318f940

Please sign in to comment.