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

Capture file licenses #129

Open
nscuro opened this issue Feb 11, 2022 · 0 comments
Open

Capture file licenses #129

nscuro opened this issue Feb 11, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@nscuro
Copy link
Member

nscuro commented Feb 11, 2022

We don't currently scan the files of a module for licenses.
As pointed out in the article below however, it is totally possible that some files are licensed differently than the module.
A simple suggested solution was to scan the first X lines of a file for the SPDX-License-Identifier field.

This was part of the feedback in https://zt.dev/posts/analysis-cyclonedx-gomod-sbom/

@nscuro nscuro added the enhancement New feature or request label Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant