Skip to content

error in applying checkov resource selector #1606

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

strollo
Copy link
Contributor

@strollo strollo commented Feb 17, 2025

When applying a Policy with

spec.constraints.checkov.selector.resource.matchExpressions
or
spec.constraints.checkov.selector.resource.matchLabels

the filters are totally ignored, while with namespace selector the filters properly work.

When applying a Policy with 

- spec.constraints.checkov.selector.resource.matchExpressions 
or 
- spec.constraints.checkov.selector.resource.matchLabels 

the filters are totally ignored with namespace selector properly works.

Signed-off-by: daniele strollo <[email protected]>
@strollo strollo requested a review from gambol99 as a code owner February 17, 2025 10:45
@gambol99
Copy link
Member

LGTM … thank you kindly @strollo … I’ll get the cut into a bug fix

@gambol99 gambol99 merged commit acd240d into appvia:master Feb 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants