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
The latest syft release doesn't cooperate with osv-scanner (v1.5.0) any more:
[~] syft packages registry:docker.io/alpine:3.19.0 -o cyclonedx-json=alpine.cdx.json
✔ Parsed image sha256:1dc785547989b0db1c3cd9949c57574393e69bea98bfe044b0588e24721aa402
✔ Cataloged file metadata [527 locations]
✔ Cataloged packages [16 packages]
✔ Cataloged file digests [840 digests]
[~] osv-scanner --sbom alpine.cdx.json
Failed to parse SBOM using all supported formats:
failed to parse SPDX:
failed trying json: JSON document does not contain spdxVersion field
failed trying rdf: found extra chars before tag start
failed trying tv: unsupported SPDX version: ''
failed to parse CycloneDX:
failed trying json: json: cannot unmarshal object into Go struct field Metadata.metadata.tools of type []cyclonedx.Tool
failed trying xml: XML syntax error on line 1: invalid character entity &distro (no semicolon)
No package sources found, --help for usage information.
What you expected to happen:
SBOM to be scanned successfully.
Steps to reproduce the issue:
See above.
Anything else we need to know?:
Environment:
Output of syft version:
v0.99.0
OS (e.g: cat /etc/os-release or similar):
Happens both in alpine-based CI environment and on a mac.
The text was updated successfully, but these errors were encountered:
What happened:
The latest syft release doesn't cooperate with osv-scanner (v1.5.0) any more:
What you expected to happen:
SBOM to be scanned successfully.
Steps to reproduce the issue:
See above.
Anything else we need to know?:
Environment:
syft version
:v0.99.0
cat /etc/os-release
or similar):Happens both in alpine-based CI environment and on a mac.
The text was updated successfully, but these errors were encountered: