Skip to content

Failing to detect licenses in 'official' Trivy binaries #8517

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

You must be logged in to vote

Hello @mattdowdell
Thanks for your report!

Trivy doesn't support license detection for go binaries.
To detect licenses for packages from go.mod - GOPATH dir should be filled (e.g. using go mod tidy command).

See more info in https://trivy.dev/latest/docs/coverage/language/golang/.

Regards, Dmitriy

Replies: 2 comments 4 replies

Comment options

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

@DmitriyLewen
Comment options

@knqyf263
Comment options

@DmitriyLewen
Comment options

Answer selected by mattdowdell
Comment options

You must be logged in to vote
0 replies
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/license Issues relating to license scanning
3 participants