CycloneDX/sbom-utility

TODO: Change Formulation and ModelCard schemas to use pointers

Aberta

#79 aberto em 1 de abr. de 2024

 (2 comentários) (0 reação) (0 responsável)Go (20 forks)auto 404
enhancementgood first issuehelp wanted

Métricas do repositório

Stars
 (155 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador