-
Notifications
You must be signed in to change notification settings - Fork 597
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
Extract full license text #2724
Comments
Maybe a good source for licenses like |
Hi @mmarseu, thanks for the suggestion. We think it makes sense to include full license text or license snippets where available, as an opt-in configuration. We've got some more design work to do but we'll put this issue in the backlog for implementation at some point. If you're interested in working on this, let us know and we can collaborate. Thanks! |
dev note: we could start adding full license text, when filename/contents are detected to be licenses, or partial license text within a file. These could be persisted on ** file ** object in the SBOM, not the ** package ** object. |
Thank you so much! Looking forward to a solution :)
Sadly, I wouldn't be able to write a hello world in go if my life depended on it 😅 |
Please let me add that the presence of copyright information is also a signficant legal obligation to mention when software vendors publish their work in an attribution report. |
+1 |
What would you like to be added:
SBOM formats such as CycloneDX and SPDX support including the full text of a license with a component. It would be great if syft could extract this information when scanning for licenses.
Why is this needed:
OSS license compliance is one important use case for SBOMs, especially in large enterprises. SBOMs produced by syft today include components with licenses identified by name (not SPDX ID) which is mostly useless without the accompanying text.
Comment #2002 (comment) has also asked for such a feature to be implemented, however, I believe it was eventually overlooked when the corresponding issue was closed.
Additional context:
Example for curl produced by dpkg cataloger in CycloneDX (modified for conciseness):
The text was updated successfully, but these errors were encountered: