You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating an SPDX file for a Python project, the resulting PURL might be pkg:PIP/[email protected] using this GitHub Action which contains an invalid PURL type, "PIP". This seems to be because the GraphQL response contains uses the packageManager string directly and does not convert it to a valid PURL type, if it exists.
When generating an SPDX file for a Python project, the resulting PURL might be
pkg:PIP/[email protected]
using this GitHub Action which contains an invalid PURL type, "PIP". This seems to be because the GraphQL response contains uses thepackageManager
string directly and does not convert it to a valid PURL type, if it exists.sbom-generator-action/src/index.js
Lines 81 to 85 in 337f599
The PURL type is case insensitive, but it's canonical form is lowercase, so perhaps calling
.toLowerCase()
on it might make sense as well.Observed behavior
pkg:PIP/[email protected]
Expected behavior
pkg:pypi/[email protected]
The text was updated successfully, but these errors were encountered: