We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What happened:
Syft created an SBOM with packages containing an invalid URI for downloadLocation. This happens with npm packages using spdx spec spdx-json
spdx-json
Example incompliant package:
{ "name": "@isaacs/cliui", "SPDXID": "SPDXRef-Package-npm--isaacs-cliui-7026ea92955de2ad", "versionInfo": "8.0.2", "supplier": "Person: Ben Coe ([email protected])", "originator": "Person: Ben Coe ([email protected])", "downloadLocation": "yargs/cliui", "filesAnalyzed": false, "sourceInfo": "acquired package info from installed node module manifest file: /usr/local/lib/node_modules/npm/node_modules/@isaacs/cliui/package.json", "licenseConcluded": "NOASSERTION", "licenseDeclared": "ISC", "copyrightText": "NOASSERTION", "description": "easily create complex multi-column command-line-interfaces", "externalRefs": [ { "referenceCategory": "SECURITY", "referenceType": "cpe23Type", "referenceLocator": "cpe:2.3:a:\\@isaacs\\/cliui:\\@isaacs\\/cliui:8.0.2:*:*:*:*:*:*:*" }, { "referenceCategory": "PACKAGE-MANAGER", "referenceType": "purl", "referenceLocator": "pkg:npm/%40isaacs/[email protected]" } ] }
What you expected to happen:
A package with a downloadLocation compliant to the spdx spec.
Steps to reproduce the issue:
syft scan redis/redisinsight:2.60.0 -o spdx-json=scan.json
Environment:
syft version
cat /etc/os-release
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What happened:
Syft created an SBOM with packages containing an invalid URI for downloadLocation. This happens with npm packages using spdx spec
spdx-json
Example incompliant package:
What you expected to happen:
A package with a downloadLocation compliant to the spdx spec.
Steps to reproduce the issue:
Environment:
syft version
: v1.20.0cat /etc/os-release
or similar): Ubuntu 22.04.5 LTSThe text was updated successfully, but these errors were encountered: