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

cyclonedx merge command does not support v1.6 format #376

Open
ferben opened this issue Jun 26, 2024 · 7 comments
Open

cyclonedx merge command does not support v1.6 format #376

ferben opened this issue Jun 26, 2024 · 7 comments

Comments

@ferben
Copy link

ferben commented Jun 26, 2024

When you try merge two files in 1.6 version, you get:

Unhandled exception: System.ArgumentException: Unsupported specification version: 1.6
   at CycloneDX.Models.Bom.set_SpecVersionString(String value)
...

cyclonedx-merge-stacktrace.txt

@candrews
Copy link
Contributor

Do you have any estimate as to when cyclonedx 1.6 support will be available?

Thank you!

@candrews
Copy link
Contributor

Trivy 0.5.3 (see aquasecurity/trivy#6902) produces CycloneDX 1.6, meaning that this tool doesn't work with the latest version of Trivy.

@Radial01
Copy link

I'd also like to find out if there's any ETA as to when we could expect CycloneDX 1.6 to be supported? Thanks!

@mtsfoni
Copy link
Contributor

mtsfoni commented Jul 30, 2024

Depends.
If nobody beats me to it might be end of August/start of September.
I started once and stumbled over some tech debt, some of that has been fixed by other contributes by now.

As the CLI just consumes the library, here is the right issue regarding 1.6: CycloneDX/cyclonedx-dotnet-library#284

@mtsfoni
Copy link
Contributor

mtsfoni commented Sep 16, 2024

Just released version 0.27.0 that should now support CycloneDX 1.6

@wkoot
Copy link

wkoot commented Sep 16, 2024

Confirmed that cyclonedx-cli merge can now process files adhering to "specVersion": "1.6" without throwing an error.
I tested this on a bunch of containers with aquasec/trivy:0.55.1 and cyclonedx/cyclonedx-cli:0.27.0.

@wkoot
Copy link

wkoot commented Oct 23, 2024

Although listed as supported, the files produced do not adhere to spec - see #409 and #399
In both cases there is no error logged by cyclonedx-cli, but the output file is not valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants