CRAVEX: Export VEX document: CycloneDX VEX
Export the results of the vulnerabilities triage and processing as CycloneDX VEX document
https://cyclonedx.org/capabilities/vex/ https://github.com/CycloneDX/bom-examples/tree/master/VEX
See #15 for additional background.
@DennisClark Implementation of the tCycloneDX VEX-only and SBOM+VEX combined outputs available for review.
Those new links are available in the Product "Share" dropdown, when the enable_vulnerablecodedb_access is enabled.
See https://cyclonedx.org/capabilities/vex/#independent-bom-and-vex-bom and https://cyclonedx.org/capabilities/vex/#bom-with-embedded-vex and
@tdruez A quick review of the new VEX export feature looks quite good, no problems found. I'll need some time to explore the details more thoroughly.
Once the analysis fields from https://github.com/aboutcode-org/dejacode/issues/98#issuecomment-2331996219 are available, those can be added in the Vulnerability.as_cyclonedx() method at https://github.com/aboutcode-org/dejacode/blob/main/vulnerabilities/models.py#L206
The content of as_cyclonedx() is directly available in the new VEX output.
This is LGTM. Closing as done. I added a comment to https://github.com/aboutcode-org/dejacode/issues/98#issuecomment-2346428724 to track the part related to #98