v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Security Monitoring

Get SBOM

Get a single SBOM related to an asset by its type and name.

get/api/v2/security/sboms/{asset_type}

Path parameters

asset_type'Repository' | 'Service' | 'Host' | 'HostImage' | 'Image' | 'ServerlessFunction' required

The asset type

Example:Repository

The type of the asset for the SBOM request.

Query parameters

filter[asset_name]string required

The name of the asset for the SBOM request.

filter[repo_digest]string

The container image repo_digest for the SBOM request. When the requested asset type is 'Image', this filter is mandatory.

ext:format'CycloneDX' | 'SPDX'

The SBOM standard

Example:CycloneDX

The standard of the SBOM.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "bomFormat": "CycloneDX",
      "components": [
        {
          "bom-ref": "pkg:golang/google.golang.org/grpc@1.68.1",
          "licenses": [
            {
              "license": {
                "name": "MIT"
              }
            }
          ],
          "name": "google.golang.org/grpc",
          "properties": [
            {
              "name": "license_type",
              "value": "permissive"
            }
          ],
          "purl": "pkg:golang/google.golang.org/grpc@1.68.1",
          "supplier": {
            "name": "https://go.dev"
          },
          "type": "application",
          "version": "1.68.1"
        }
      ],
      "dependencies": [
        {
          "dependsOn": [
            "pkg:golang/google.golang.org/grpc@1.68.1"
          ],
          "ref": "Repository|github.com/datadog/datadog-agent"
        }
      ],
      "metadata": {
        "authors": [
          {
            "name": "Datadog, Inc."
          }
        ],
        "component": {
          "name": "github.com/datadog/datadog-agent",
          "type": "application"
        },
        "timestamp": "2025-07-08T07:24:53Z"
      },
      "serialNumber": "urn:uuid:f7119d2f-1vgh-24b5-91f0-12010db72da7",
      "specVersion": "1.5",
      "version": 1
    },
    "id": "github.com/datadog/datadog-agent",
    "type": "sboms"
  }
}