Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

components generated by cyclonedx/cyclonedx-npm are not detected properly #1243

Closed
omercnet opened this issue Mar 19, 2024 · 0 comments · Fixed by #1244
Closed

components generated by cyclonedx/cyclonedx-npm are not detected properly #1243

omercnet opened this issue Mar 19, 2024 · 0 comments · Fixed by #1244
Labels
static-analysis Related to [sarif, sbom]

Comments

@omercnet
Copy link
Contributor

if (component['bom-ref'].includes('pkg:npm')) {

cyclonedx/cyclonedx-npm creates an sbom with the pkg prefix in purl and not bom-ref

@Drarig29 Drarig29 added the static-analysis Related to [sarif, sbom] label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
static-analysis Related to [sarif, sbom]
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants