trivy k8s: Not able to ignore vulnerabilities for k8s core components #5673
Closed
torbenstruever
started this conversation in
Bugs
Replies: 1 comment 1 reply
-
@torbenstruever thank you for reporting this I have converted the discussion to issue #5675 for investigations |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
With release 0.47.0 a feature was introduced to "trivy k8s" command which scans k8s core components.
Since then I get the following CVEs reported for my kubernetes 1.26.6:
I would like to ignore these, as I only run linux nodes, but its not possible. I know my ignorefile gets read as I am able to ignore other vulnerabilities which do not come from core components
Content of ignorefile:
content of configfile:
Desired Behavior
Be able to ignore k8s core component vulnerabilities
Actual Behavior
Vulnerabilities are shown, even if they are in trivyignore file
Reproduction Steps
1. run `trivy k8s -n <namespace> --config <configfile> --ignorefile <ignorefile> all`
Target
None
Scanner
None
Output Format
None
Mode
None
Debug Output
Operating System
Ubuntu 20.04.6 LTS
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions