Skip to content

Is there any filed for commit id? #664

Closed

Description

@robberphex

We want to use CycloneDX sbom to trace where the artficate from.

We noticed that there is externalReferences with name vcs could specify git repo.
But there is no name for specify git commit id.

Could CycloneDX introduce a name for git commit id?

Here is an example from spring-boot.

    {
      "type" : "library",
      "bom-ref" : "pkg:maven/org.springframework.boot/spring-boot@3.5.4?type=jar",
      "publisher" : "VMware, Inc.",
      "group" : "org.springframework.boot",
      "name" : "spring-boot",
      "version" : "3.5.4",
      "description" : "Spring Boot",
      "scope" : "required",
      "licenses" : [
        {
          "license" : {
            "id" : "Apache-2.0"
          }
        }
      ],
      "purl" : "pkg:maven/org.springframework.boot/spring-boot@3.5.4?type=jar",
      "externalReferences" : [
        {
          "type" : "website",
          "url" : "https://spring.io/projects/spring-boot"
        },
        {
          "type" : "issue-tracker",
          "url" : "https://github.com/spring-projects/spring-boot/issues"
        },
        {
          "type" : "vcs",
          "url" : "https://github.com/spring-projects/spring-boot"
        }
      ]
    }

Activity

  1. locked and limited conversation to collaborators on Jul 31, 2025
  2. converted this issue into a discussion #665 on Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions