You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
We had observed an error when trying to attest an SBOM file containing an image "eclipse-temurin:17-jre-alpine" while upgrading from syft version 0.80.0 to 0.81.0.
However, later after investigation, we found out that the generated SBOM file was at fault as one section containing "libretls" dependency did not contains any licenses, as the licenses coming were empty. If we would delete the empty licenses in the SBOM manually, then it would work fine.
Snippet for the same section is attached in the last.
Using cyclonedx-cli 0.24.0, I found out that it was invalid.
Unfortunately the tool does not give any more information that what was wrong in the SBOM file.
Unable to validate against any JSON schemas.
BOM is not valid.
What you expected to happen:
I would have expected the SBOM to be valid, no matter the input image.
We generate SBOMs on a large scale with Syft, and this is the only problem we have encountered with one so far.
Steps to reproduce the issue:
Generate the SBOM using below command and validate using cyclonedx-cli.
What happened:
We had observed an error when trying to attest an SBOM file containing an image "eclipse-temurin:17-jre-alpine" while upgrading from syft version
0.80.0
to0.81.0
.However, later after investigation, we found out that the generated SBOM file was at fault as one section containing "libretls" dependency did not contains any licenses, as the licenses coming were empty. If we would delete the empty licenses in the SBOM manually, then it would work fine.
Snippet for the same section is attached in the last.
Using cyclonedx-cli 0.24.0, I found out that it was invalid.
Unfortunately the tool does not give any more information that what was wrong in the SBOM file.
What you expected to happen:
I would have expected the SBOM to be valid, no matter the input image.
We generate SBOMs on a large scale with Syft, and this is the only problem we have encountered with one so far.
Steps to reproduce the issue:
Generate the SBOM using below command and validate using cyclonedx-cli.
Anything else we need to know?:
Unfortunately, I must not share the broken SBOM file with the outside world.
I look forward to your answers!
Environment:
syft version
:0.81.0
cat /etc/os-release
or similar): LinuxThe text was updated successfully, but these errors were encountered: