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

syft convert cycloneDx Metadata is lost after reconvert #3575

Open
henrysachs opened this issue Jan 9, 2025 · 0 comments
Open

syft convert cycloneDx Metadata is lost after reconvert #3575

henrysachs opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working needs-investigation

Comments

@henrysachs
Copy link
Contributor

What happened:

regarding #3574 after converting from cycloneDx to syft-json to cycloneDx the metadata object is empty.

What you expected to happen:

I would love to keep the metadata somehow

Steps to reproduce the issue:

convert the following sbom https://github.com/CycloneDX/bom-examples/blob/master/SBOM/keycloak-10.0.2/bom.json from cdx to syft to cdx and inspect the metadata section

syft convert bom.json -o syft-json > bom-syft.json
syft convert bom-syft.json -o cyclonedx-json

Anything else we need to know?:

Environment:

  • Output of syft version:
Application: syft
Version:    1.18.1
BuildDate:  2024-12-13T18:41:10Z
GitCommit:  5e16e5031a13f8a11057feb8544decebfc43b4ed
GitDescription: v1.18.1
Platform:   darwin/arm64
GoVersion:  go1.23.4
Compiler:   gc
  • OS (e.g: cat /etc/os-release or similar):
@henrysachs henrysachs added the bug Something isn't working label Jan 9, 2025
@spiffcs spiffcs moved this to Backlog in OSS Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-investigation
Projects
Status: Backlog
Development

No branches or pull requests

2 participants