anthonyharrison / lib4sbom

Library to ingest and generate SBOMs
Apache License 2.0
14 stars 10 forks source link

Support CycloneDX 1.5 #30

Closed sah-cdo closed 4 months ago

sah-cdo commented 4 months ago

Add missing type according to the CycloneDX 1.5 specification https://cyclonedx.org/docs/1.5/json/#components_items_type

reviewer : @anthonyharrison

anthonyharrison commented 4 months ago

Thanks for this. However the types need to be aligned with the types specified in the set_type within the package class otherwise the extra types will be ignored. PLATFORM, DEVICE-DRIVER and DATA need to be added to the package class.

sah-cdo commented 4 months ago

Thanks for this. However the types need to be aligned with the types specified in the set_type within the package class otherwise the extra types will be ignored. PLATFORM, DEVICE-DRIVER and DATA need to be added to the package class.

Type list in the class SBOMPackage is now align with cyclonedx_parser and with cyclonedx specification