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

Incorrect Package Ecosystem in SPDX SBOM Scanning #159

Open
abhisek opened this issue Nov 20, 2023 · 0 comments
Open

Incorrect Package Ecosystem in SPDX SBOM Scanning #159

abhisek opened this issue Nov 20, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@abhisek
Copy link
Member

abhisek commented Nov 20, 2023

SPDX SBOM scanning, such as, what is used while scanning Github Dependency Insight API output (SPDX SBOM data) results in incorrect package ecosystem detection. In this case, a Manifest type is considered to be SPDX but Package ecosystem type should be based on detected ecosystem and should not be same as Manifest's ecosystem (SPDX)

Example:

vet scan --github https://github.com/safedep/vet --report-json /tmp/vet.json
cat /tmp/vet.json| jq '.packages[5]'
{
  "package": {
    "ecosystem": "SpdxSBOM",
    "name": "postcss-minify-params",
    "version": "5.1.4"
  },
  "manifests": [
    "55b2cc8afd01bd61"
  ]
}
@abhisek abhisek added the bug Something isn't working label Nov 20, 2023
@abhisek abhisek self-assigned this Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant