Skip to content

package-lock.json not detected in image scan, while Cargo.lock & composer.lock are #4769

Closed Answered by knqyf263
john-d8r asked this question in Q&A
Discussion options

You must be logged in to vote

Do you mean that once Trivy supports PHP metadata of installed packages like .gemspec in Ruby. support for composer.lock on image scans will be removed ?

Yes

Is there a reason for explicitly disabling lock file analyzers on image scan (for some languages)

There could be unused lock files for testing or any other reasons in container images. Then, it leads to false detection. We've got many complaints about it.

also it's not configurable ATM

What do you mean?

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@knqyf263
Comment options

Answer selected by john-d8r
@john-d8r
Comment options

@knqyf263
Comment options

@john-d8r
Comment options

@vikasdf
Comment options

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.
4 participants