1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2025-08-01 19:38:27 +00:00

fix failed test cases

This commit is contained in:
Laiba Bareera 2025-07-30 17:00:05 +05:00
parent 0ed02a3608
commit 2ffd671d8b

View File

@ -46,7 +46,6 @@ groups:
resources: ["pods"]
Apply the audit policy configuration to the cluster:
kubectl apply -f <path-to-audit-policy>.yaml
Ensure audit logs are forwarded to a centralized logging system like CloudWatch, Elasticsearch, or another log management solution:
kubectl create configmap cluster-audit-policy --from-file=audit-policy.yaml -n kube-system
kubectl apply -f - <<EOF