We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 value format is missing or incorrect for checksum under files
checksum
files
trivy image --list-all-pkgs --format {trivy_format} --output {out_file} {image}:{version}
SPDX value format is missing or incorrect for checksum
{ "SPDXID": "SPDXRef-File-13c84467a7e68326", "fileName": "usr/local/lib/ruby/gems/3.1.0/specifications/default/mutex_m-0.1.1.gemspec" },
checksum should be valid SPDX value under files
If applicable, add screenshots to help explain the problem.
Which repository causes this error?
Optional - add any other context about the problem here.
The "done" criteria when this feature or problem is resolved. Such as:
Limited to SPDX. Finder: sbomqs SBOM: sbomlc-ruby-alpine
The text was updated successfully, but these errors were encountered:
It is an optional field. I don't think it is a bug. https://spdx.github.io/spdx-spec/v2.3/package-information/#710-package-checksum-field
Sorry, something went wrong.
Thanks for checking it out @knqyf263 . The checksum is optional in the context of packages, as you mentioned. However, the attached SBOM is using them within the files context starting at Line 15. checksum for files is a required field: https://spdx.github.io/spdx-spec/v2.3/file-information/#84-file-checksum-field
(The filing tool had NULL for the file, attaching actual file) trivy-0.36.1_ruby-3.1.3-alpine3.17.spdx.json.txt
Not sure why files are filled. We'll remove it then.
Successfully merging a pull request may close this issue.
Summary
SPDX value format is missing or incorrect for
checksum
underfiles
Background
trivy image --list-all-pkgs --format {trivy_format} --output {out_file} {image}:{version}
for ruby tag 3.13-alpine3.17SPDX value format is missing or incorrect for
checksum
Expected behavior
checksum
should be valid SPDX value underfiles
Screenshots
If applicable, add screenshots to help explain the problem.
Repository
Which repository causes this error?
Additional Context
Optional - add any other context about the problem here.
Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:
References
Limited to SPDX.
Finder: sbomqs
SBOM: sbomlc-ruby-alpine
The text was updated successfully, but these errors were encountered: