-
Notifications
You must be signed in to change notification settings - Fork 358
Open
Labels
bugSomething isn't workingSomething isn't workingcommunityCommunity contributionCommunity contributionkubernetesKubernetes queryKubernetes queryqueryNew query featureNew query feature
Description
the rule https://github.com/Checkmarx/kics/blob/master/assets/queries/k8s/missing_app_armor_config/query.rego is outdated https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/24-apparmor#removing-annotation-support
proper setting should be
securityContext:
appArmorProfile:
type: RuntimeDefault
Expected Behavior
if new syntax is provided, rule shouldn't be violated
Actual Behavior
I get a security finding, which is not correct
Steps to Reproduce the Problem
we use Cx1, but just perform a KICS scan with the rule above and you will get an alert
Specifications
Cx1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcommunityCommunity contributionCommunity contributionkubernetesKubernetes queryKubernetes queryqueryNew query featureNew query feature