Skip to content
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

trivy k8s: new flags --include-namespaces and --exclude-namespaces #6195

Closed
Tracked by #5745
chen-keinan opened this issue Feb 25, 2024 · 0 comments · Fixed by #6323
Closed
Tracked by #5745

trivy k8s: new flags --include-namespaces and --exclude-namespaces #6195

chen-keinan opened this issue Feb 25, 2024 · 0 comments · Fixed by #6323
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. target/kubernetes Issues relating to kubernetes cluster scanning
Milestone

Comments

@chen-keinan
Copy link
Contributor

it is required to add two new flags --include-namespaces and --exclude-namespaces

when --include-namespaces is specified, example --include-namespaces test meaning the scan result will resent finding only from test namespace

when --exclude-namespaces is specified, example --exclude-namespaces test meaning the scan result will resent finding from all namespaces except of test namespace

both flags --include-namespaces and --exclude-namespaces are not allowed to be specified in conjunction on same scan

@chen-keinan chen-keinan added kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. target/kubernetes Issues relating to kubernetes cluster scanning labels Feb 26, 2024
@chen-keinan chen-keinan changed the title trivy k8s new flags --include-namespaces and --exclude-namespaces trivy k8s: new flags --include-namespaces and --exclude-namespaces Feb 26, 2024
@chen-keinan chen-keinan added this to the v0.51.0 milestone Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. target/kubernetes Issues relating to kubernetes cluster scanning
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant