Replies: 1 comment 1 reply
-
Any sample repo to reproduce this issue? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is a SBOM component
{ "group": "", "name": "json5", "version": "2.1.1", "scope": "optional", "purl": "pkg:npm/[email protected]", "type": "library", "bom-ref": "pkg:npm/[email protected]", "evidence": { "identity": { "field": "purl", "confidence": 1, "methods": [ { "technique": "manifest-analysis", "confidence": 1, "value": "/path/gui/nodegui/package-lock.json" } ] } },
Value
given in SBOM is"/path/gui/nodegui/package-lock.json"
.'json5' is not mentioned directly anywhere in the file package-lock.json.
However, this library is present within
/path/gui/nodegui/node_modules/npm-normalize-package-bin/package-lock.json
.I understand cdxgen recursively scans and gives me an SBOM. But shouldn't the value then be set to
/path/gui/nodegui/node_modules/npm-normalize-package-bin/package-lock.json
?Beta Was this translation helpful? Give feedback.
All reactions