-
Notifications
You must be signed in to change notification settings - Fork 593
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
SPDX JSON has external reference category of PACKAGE_MANAGER instead of PACKAGE-MANAGER #1236
Comments
Turns out this may be due to an inadvertent update in the JSON schema, see this. |
We'll keep an eye on where it goes on that issue and what they decide. Great find thanks for the issue @ddillard! Is this currently throwing any errors of compatibility on your end with this inadvertent update? |
No, this isn't causing me any issues the moment. I was just doing some testing and noticed the discrepancy. If the proposed fix is implemented no changes will be required in syft, though I do believe grype might need a minor update. |
Both are going to be supported so no issue for SBOM generation. |
Just a note: there was a request to undo this change: #1596 |
What happened:
Generated an SBOM in SPDX JSON format and took a look at the output and noticed it has external reference category of "PACKAGE_MANAGER".
What you expected to happen:
Per the SPDX JSON schema the value should be "PACKAGE-MANAGER", i.e. the separator should be a hyphen, not an underscore.
How to reproduce it (as minimally and precisely as possible):
Just run syft against a container and generate an SBOM in SPDX JSON format.
Anything else we need to know?:
Don't think so.
Environment:
Output of
syft version
:0.58.0
OS (e.g:
cat /etc/os-release
or similar):Ubuntu 10.04.6 LTS
The text was updated successfully, but these errors were encountered: