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

Unable to identify CycloneDX JSON documents without $schema property #2299

Closed
chenrui333 opened this issue Nov 7, 2023 · 0 comments · Fixed by #2303
Closed

Unable to identify CycloneDX JSON documents without $schema property #2299

chenrui333 opened this issue Nov 7, 2023 · 0 comments · Fixed by #2303
Assignees
Labels
bug Something isn't working

Comments

@chenrui333
Copy link
Contributor

What happened:

syft conver failed with 0.95.0 build

==> /opt/homebrew/Cellar/syft/0.95.0/bin/syft convert /private/tmp/syft-test-20231107-94892-6iadn/micronaut.json
1 error occurred:
	* failed to decode SBOM: sbom format not recognized

What you expected to happen:

pass

Steps to reproduce the issue:

  • grab release binary
  • run syft convert against https://raw.githubusercontent.com/anchore/syft/934644232ab115b2518acdb5d240ae31aaf55989/syft/pkg/cataloger/java/test-fixtures/graalvm-sbom/micronaut.json

Anything else we need to know?:

n/a

Environment:

  • Output of syft version: 0.95.0
  • OS (e.g: cat /etc/os-release or similar): macOS (but I dont think it is relevant)

relates to Homebrew/homebrew-core#153559

@chenrui333 chenrui333 added the bug Something isn't working label Nov 7, 2023
@kzantow kzantow self-assigned this Nov 8, 2023
@kzantow kzantow changed the title syft 0.95.0 regression test failure Unable to identify CycloneDX JSON documents without $schema property Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants