You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by torbenstruever November 28, 2023
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:
# Ignore the following vulnarability IDs
# <ID>
CVE-2023-3676
CVE-2023-3955
Discussed in #5673
Originally posted by torbenstruever November 28, 2023
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
The text was updated successfully, but these errors were encountered: