CycloneDX/sbom-utility

TODO: Change Formulation and ModelCard schemas to use pointers

Aperta

#79 aperta il 1 apr 2024

 (2 commenti) (0 reazioni) (0 assegnatari)Go (20 fork)auto 404
enhancementgood first issuehelp wanted

Metriche repository

Star
 (155 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor