-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Specification version 1.5 support #109
Comments
Hi, any updates on this progress? |
Hey @niclas-g, I really want to get this done but am a bit time constrained with other priorities right now. If you're willing and able to, you could help by either contributing missing parts in #90, or alternatively test the changes that currently exist in that branch, and let me know of any issues you run into. If you have an existing code base you could test on with v1.5 BOMs, that'd be super helpful. When you say you can't consume BOMs generated by Trivy, is it that info is being dropped, or is decoding failing entirely? |
I'll be happy to test against our codebase, I'll see if I can put some time towards it this week or next.
Decoding fails entirely, it returns an |
Ah, I see. This is technically fixed in cyclonedx-go/cyclonedx_json.go Lines 28 to 62 in 83031d6
For a short-term "solution" I could cut a v0.7.2 release, so that at least decoding works again. Would that help? |
@nscuro, that would be great! |
@niclas-g Here we go: https://github.com/CycloneDX/cyclonedx-go/releases/tag/v0.7.2 Would still very much appreciate it if you could also test the |
Thanks @nscuro! I'll have a look at the release shortly and try out the branch against our code base next week. |
Ok, now I have had some time to test the |
I am concerned about Metadata.Tools, https://github.com/CycloneDX/cyclonedx-go/blob/master/cyclonedx.go#L439
It seems like it will not be possible to deserialize both 1.4 and 1.5 SBOMs into the same structure without a custom deserializer. |
Handling Metadata.tools discussion is in #115 |
Are there plans to add support for 1.5?
The text was updated successfully, but these errors were encountered: