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

Custom SPDX License Id #18

Open
mgnslndh opened this issue Apr 11, 2024 · 0 comments
Open

Custom SPDX License Id #18

mgnslndh opened this issue Apr 11, 2024 · 0 comments

Comments

@mgnslndh
Copy link

mgnslndh commented Apr 11, 2024

Problem

I have a dependency on a component that does not have a SPDX License Id. For example the System.IO 4.3 package only have a license URL to the Microsoft .NET Library license, which does not fulfill the requirements to be included in the official SPDX License ID list.

Converting the SBOM to CycloneDX will only include the license URL which can not be used to identify the license in Dependency Track. Dependency Track relies on SPDX license ID for identification.

Current Behavior

  • Converting to SPDX will generate a custom license ID that is unique only the SBOM file (and possibly undeterministic?)
  • Converting to CycloneDX will generate only a license URL

Proposed Behavior

  • Make it possible to map license url:s to custom license Id:s
  • Make mapped license id:s part of CycloneDX conversion

This would solve the problem of identification in Dependency Track.

Stretch

  • Add default mappings that can be enabled/disabled and overriden (this can be nice for common packages from Microsoft)
  • Add support for the ScanCode License Database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant