Skip to content

trivy fs vs npm audit differs for carbone.io template engine #8285

Closed Answered by DmitriyLewen
bedla asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @bedla
Thanks for your report!

By default, Trivy doesn't check dev deps - https://trivy.dev/latest/docs/coverage/language/nodejs/#npm
Use --include-dev-deps flag to see similar result:

➜  carbone git:(ee-3.4.0) trivy -q fs --include-dev-deps ./package-lock.json

package-lock.json (npm)

Total: 19 (UNKNOWN: 0, LOW: 0, MEDIUM: 3, HIGH: 13, CRITICAL: 3)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bedla
Comment options

Answer selected by bedla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
triage/support Indicates an issue that is a support question. scan/vulnerability Issues relating to vulnerability scanning
2 participants