Skip to content

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

Open
@jkowalleck

Description

@jkowalleck

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions