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

Invalid SPDX SBOM #93

Closed
vargenau opened this issue Aug 21, 2024 · 2 comments · Fixed by #98
Closed

Invalid SPDX SBOM #93

vargenau opened this issue Aug 21, 2024 · 2 comments · Fixed by #98

Comments

@vargenau
Copy link
Contributor

In the download section, you provide an SBOM, which is good.

It is named e.g.: sbomasm-darwin-amd64.spdx.sbom

It would be better to name it sbomasm-darwin-amd64.spdx.json to conform the SPDX naming conventions.

Also, it is slightly invalid SPDX:

pyspdxtools -i sbomasm-darwin-amd64.spdx.json
ERROR:root:The document is invalid. The following issues have been found:
file name must not be an absolute path starting with "/", but is: /sbomasm-darwin-amd64
@vargenau
Copy link
Contributor Author

Since you are using syft-1.11.1 this is bug anchore/syft#2093

Perhaps you can postprocess before publishing.

@riteshnoronha
Copy link
Contributor

@vargenau good point, yea we are actually moving all our sbom generation to sbom-tool. Will update this in the next release.

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

Successfully merging a pull request may close this issue.

2 participants