Replies: 2 comments 3 replies
-
Isn't PURL included in the SBOM? |
Beta Was this translation helpful? Give feedback.
3 replies
-
I created #4675 for this task. |
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
The CycloneDX Maven Plugin can generate an extremely rich SBOM including accurate depends on information as well as licensing. I have created a test project that includes the maven plugin. After generating the bom.json I attempted to scan with
trivy sbom
and no vulnerabilities were detected. Upon further inspection, the reason the vulnerabilities where not detected is thename
on the component did not include thegroupId
.Would turn up no vulnerabilities however, modifying the name key to
org.springframework:spring-web
would result in vulnerability detection in trivy. Is this expected behavior?Reproduction steps:
output:
If I open the
bom.json
file and modify the name toorg.springframework:spring-web
the expected vulnerability is detected:It appears that the maven plugin places the group information in a field called
group
instead of combining it in the name.Target
Filesystem
Scanner
Vulnerability
Beta Was this translation helpful? Give feedback.
All reactions