Replies: 1 comment
-
@MRDGH2821 you can make trivy ignore additional folders by using --skip-files and --skip-dirs options :) Doc: https://trivy.dev/latest/docs/configuration/skipping/ Example of configuration in .mega-linter.yml |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to force trivy to ignore
target
folder?I'm making a multiarch rust project and I have setup multiarch compilation which happens to use dockerfiles in the background for compilation for other targets.
Now it so happens that everytime I run megalinter, trivy trips on the dockerfiles inside
target
folder where cargo puts the compiled binaries & build dependencies.I have tried
cargo clean
as post clippy step, still it findstarget
folderBeta Was this translation helpful? Give feedback.
All reactions