Skip to content

fix: support other versions of cyclonedx? #34

@terriko

Description

@terriko

I noticed our main repo's SBOMs are now being generated in CycloneDX 1.5:

  "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
  "bomFormat": "CycloneDX",
  "specVersion": "1.5",

But I remembered from code review that we're explicitly looking for CycloneDX 1.3 in a few spots:

if data.find("cyclonedx.org/schema/bom/1.3") != -1:

Do we need to change anything to make sure other versions of CycloneDX get picked up?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions