CycloneDX / cyclonedx-core-java

CycloneDX SBOM Model and Utils for Creating and Validating BOMs
https://cyclonedx.org/
Apache License 2.0
81 stars 61 forks source link

External References and Metadata Validations #426

Closed mr-zepol closed 5 months ago

mr-zepol commented 5 months ago

This adds validation for serializer when creating SBOMs for external reference and metadata that values that are not present in the spec, this excludes them so the generated file is not invalid and it's compliant with the spec.

This is an improvement for the tests to test backward compatibility, and a smaller PR so it's easier to review