Skip to content

Scanning repository for license via docker #6318

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

You must be logged in to vote

Hello @NikolayPopovDev
Thanks for your interest to Trivy!

We use Go cache dir to detect licenses for Go packages - https://aquasecurity.github.io/trivy/v0.49/docs/coverage/language/golang/#go-modules

Therefore, when you use docker image, Trivy may skip licenses for dependencies because cache directory doesn't contain those dependencies.

Regards, Dmitriy

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@NikolayPopovDev
Comment options

@DmitriyLewen
Comment options

@itaysk
Comment options

@DmitriyLewen
Comment options

Answer selected by NikolayPopovDev
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.
3 participants