-
Notifications
You must be signed in to change notification settings - Fork 599
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
Unable to classify complex licenses #3527
Comments
Hi @yaronkaikov, I had a look at this; it looks like there are a number of different things going on. The first couple of packages are
The operating system entry is a synthetic package based on the distro information Syft found, we should figure out how to determine the correct license to include. Any ideas here are welcome! The remainder fall into 2 categories: python and debian packages. The python packages ( The debian packages ( |
@kzantow I have noticed that the latest release 1.19.0 contains the fix, but the license is still empty, so either i am doing something wrong, or the fix doesn't solve the issue Is there a way in the syft.conf file to manually get package info with license? |
I created a new
... so it looks like the go license issue should be fixed. The others packages mentioned have different reasons the licenses were not included: the Python package does not read the license files (tracked already in #2624). And the Deb issue, I think is due to these packages having complex license text, which Syft is unable to classify with the current license classification library. I've reopened this issue and retitled it to better reflect the current status. Please let me know if I've misunderstood anything; and any further examples/information you could provide about specifics we could look at could help to get this fixed! |
What happened:
I am generating an SBOM report with the command
syft <docker image> --config syft.yaml -o cyclonedx-json@1.4
syft.yaml configuration:
after generating the report, we noticed that we have some missing licenses for the following packages (see attached file) -
missing_licenses - nightly.csv
What you expected to happen:
Have no missing licenses
Steps to reproduce the issue:
Generate SBOM report using the command:
syft docker.io/scylladb/scylla-nightly:latest --config syft.yaml -o cyclonedx-json@1.4
Anything else we need to know?:
Environment:
syft version
:cat /etc/os-release
or similar):The text was updated successfully, but these errors were encountered: