diff --git a/pkg/analysis/default-rules.yaml b/pkg/analysis/default-rules.yaml index 6815dde..aad1b40 100644 --- a/pkg/analysis/default-rules.yaml +++ b/pkg/analysis/default-rules.yaml @@ -440,7 +440,7 @@ Rules: rule, (has(rule.verb) && rule.verb in ['create', 'update', 'patch', '*']) && ( - has(rule.resource) && rule.resource in ['validatingadmissionpolicies', 'validatingadmissionpolicybinding', '*'] && + has(rule.resource) && rule.resource in ['validatingadmissionpolicies', 'validatingadmissionpolicybindings', '*'] && has(rule.apiGroup) && rule.apiGroup in ['admissionregistration.k8s.io','*'] ) )