specification icon indicating copy to clipboard operation
specification copied to clipboard

[IDEA]: ProtoBuf - make `license.id` an (external) enum

Open jkowalleck opened this issue 1 year ago • 1 comments

currently(CDX 1.6), we have the following situation:

problem

Using arbitrary strings for license.id means, that there is just no baked-in safety. To improve this, I propose to use a dedicated ProtoBuf package that can be maintained and released outside the regular CDX release cycle, just like the enum for JSON and XML.

possible solution

consideration & research

  • ❗ this might be a breaking change - need to investigate
  • ❕ need to investigate how/where to publish the schema file, so that has the intended effect

jkowalleck avatar Jan 13 '25 20:01 jkowalleck

this is currently in RFC phase. If you have any opinion on that, please let us know.

jkowalleck avatar Jan 13 '25 20:01 jkowalleck