-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
fix: exclude bom info on namespace scope #5629
fix: exclude bom info on namespace scope #5629
Conversation
10fdb88
to
576d430
Compare
This fixes only part of the issue (#5628) I have. But it is entirely my fault because I provided only one example. The service account I use gives me permission to scan the whole cluster. When I build a Trivy image from this PR and run the following command in a pod I still get the error: trivy kubernetes '--cache-dir=/cache' '--debug=true' '--format=table' '--no-progress=true' '--node-collector-namespace=default' '--output=report.txt' '--parallel=20' '--report=all' '--severity=CRITICAL' '--timeout=60m0s' cluster
Edit: The command above runs without errors when I use the image |
@chen-keinan I removed this PR from the milestone because the issue of this PR is already in the milestone. |
Signed-off-by: chenk <[email protected]>
576d430
to
268617f
Compare
Signed-off-by: chenk <[email protected]>
@elchenberg I have updated the PR to fix your 2nd use-case , please check again |
Signed-off-by: chenk <[email protected]>
739b6d3
to
27fe42e
Compare
@chen-keinan Do you want to wait for @elchenberg? Or merge this PR now? |
@knqyf263 sure we can merge, the fix is good |
@chen-keinan I checked again and now it works without any issues. Thank you very much! |
Suppressed by #5710 |
Pull request was closed
Description
Exclude bom info on namespace scope
Related issues
Related PRs
Checklist