There's no result if SBOM file doesn't contain fields "group" and "name" in package info of JAVA projects #5151
Closed
jet-pentest
started this conversation in
Bugs
Replies: 3 comments
-
Is it possible to use and parse PURL in Java packages while unmarshalling istead onf Name and Group fields in BOM files? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @jet-pentest ! Have you manually added components to the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fix has been added - #5154 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
If another SCA generates CycloneDX file, it may does not have fields like "group" and "name" in SBOM file. As example, an Dependency Track. There's problem in handling SBOM files, where Trivy trying to get data from specific SBOM fields, but not from "purl" field of SBOM (CycloneDX-json) file.
Desired Behavior
Handle CycloneDX file by Trivy and get results from Trivy DB
Actual Behavior
There's no data in output
Reproduction Steps
1. Export SBOM file from Dependency-Track of any JAVA project 2. use command: trivy sbom /path/to/sbom 3. There's no result from Trivy
Target
SBOM
Scanner
Vulnerability
Output Format
Table
Mode
Standalone
Debug Output
Operating System
macOS Ventura 13.2.1
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions