VDR Generated by Library doesn't pass validation #659
Closed
Scanteianu
started this conversation in
Ideas
Replies: 3 comments
|
this library provides validation capabilities. cyclonedx-python-lib/examples/complex_serialize.py Lines 85 to 93 in 83b54aa see the needed extra: https://cyclonedx-python-library.readthedocs.io/en/latest/install.html#extras |
0 replies
|
if i am not mistaken, then you are using the library wrong. you might use a Static code analysis tool (like
|
0 replies
|
Thanks for these tips, I was able to use mypy and the validation library and now the sbom we produce passes the validations. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I use this library to generate a Vulnerability Disclosure Report for Adoptium Temurin (OpenJDK Build): https://github.com/adoptium/temurin-vdr-generator/blob/main/cvereporter/report.py
As an example, see https://github.com/adoptium/temurin-vdr-generator/actions/runs/9914996771
However, it doesn't pass validation on https://cyclonedx.github.io/cyclonedx-web-tool/convert which I'm guessing is powered by https://github.com/CycloneDX/sbom-utility
It would be nice if the library could somehow prevent me from generating an invalid sbom.
Errors from running the utility locally include:
All reactions