CycloneDX/sbom-utility

TODO: Change Formulation and ModelCard schemas to use pointers

Open

#79 opened on Apr 1, 2024

 (2 comments) (0 reactions) (0 assignees)Go (20 forks)auto 404
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (155 stars)
PR merge metrics
 (PR metrics pending)

Description

The CycloneDX schema file:

/Users/Matt_1/Projects/CycloneDX/sbom-utility/schema/cyclonedx_formulation.go

defines all the structures used for "formulation" which was added in v1.5; however, these structs should be updated to use pointers to structs in all cases to improve performance during JSON Marshal (decoding).

The same should be done for the added ModelCard data (as part of the Component type):

/Users/Matt_1/Projects/CycloneDX/sbom-utility/schema/cyclonedx_modelcard.go

Contributor guide