Paths don't work in .trivyignore.yaml #8058
salemgolemugoo
started this conversation in
Bugs
Replies: 1 comment
-
hi @salemgolemugoo thanks for the report - I can reproduce it locally. @nikpivkin this looks like a bug to me in the checks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Trying to exclude some security warnings by specifying
paths
attribute in .trivyignore.yaml https://trivy.dev/latest/docs/configuration/filtering/#trivyignoreyamlDesired Behavior
There should be no warnings AVD-AWS-0052, AVD-AWS-0053
Actual Behavior
paths
is being skipped. And I still see warningsReproduction Steps
mkdir -p test
trivy conf -s MEDIUM,HIGH,CRITICAL --ignorefile .trivyignore.yaml --debug --cache-dir /tmp --misconfig-scanners terraform ./test
Target
Filesystem
Scanner
Misconfiguration
Output Format
None
Mode
Standalone
Debug Output
Operating System
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions