Policy testing against AKS cluster doesn't work? #765
Unanswered
DevOps-zhuang
asked this question in
Questions and Help
Replies: 1 comment 2 replies
-
|
@DevOps-zhuang Looks like your question is similar to #620 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We are using Kube bench to test against AKS cluster, version 1.18. since it is managed cluster, we understand that the master node can't be tested. so we checked work node and policies. when checking node with running 'kube bench node', it succeeded. however, when try to test policies by running #./kube-bench --benchmark cis-1.6 run --targets policies, we just get the warning info, then we made some fix by creating new namespace and deploy workload to new namespace. rerun policies testing, it still get all warnings, so any advice? I doubt whether kube bench support policies testing against AKS? or it just support node testing against AKS? thanks.
to test policies, we use below command:
#./kube-bench --benchmark cis-1.6 run --targets policies
Beta Was this translation helpful? Give feedback.
All reactions