Replies: 2 comments 4 replies
-
Hi @namandf ! It seems that you have already created a discussion with a similar problem: #4236 |
Beta Was this translation helpful? Give feedback.
-
Hi @nikpivkin , #4236 is now focussed on license detection for image scans. For filesystem scans, trivy seems to have added support some time back wherein, pom.xml is parsed to extract license information. There seems to be an issue with the same. When maven is being referred to fetch child POM dependencies, the expected behaviour is to analyze pom to extract GAV + license. But looks like license is not being parsed or may be it is parsed, but not processed or lost in translation |
Beta Was this translation helpful? Give feedback.
-
Description
Performed a trivy filesystem scan on https://github.com/WebGoat/WebGoat .
Only see license captured in root pom.xml.
Desired Behavior
Was expecting license information for a bunch of packages detected.
Eg.
License: MIT
License: Apache 2.0
Actual Behavior
Only see license captured in root pom.xml.
Reproduction Steps
Target
Filesystem
Scanner
Vulnerability
Output Format
JSON
Mode
Standalone
Debug Output
Operating System
macOS
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions