Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.01 KB

README.md

File metadata and controls

44 lines (26 loc) · 1.01 KB

SBOM command

This command lets you upload SBOM files to the Datadog intake endpoint.

Supported Formats

  • CycloneDX 1.4
  • CycloneDX 1.5

Usage

datadog-ci sbom upload <path/to/sbom.json>

Optional arguments

  • --service should be set to the name of the service you're uploading SBOM reports from.
  • --env is a string that represents the environment in which you want your tests to appear.

Environment variables

The following environment variables must be defined:

  • DD_SITE: the Datadog site
  • DD_APP_KEY: the App key to use
  • DD_API_KEY: the API key to use

Development

When developing software, you can try with the following command:

yarn launch sbom upload --service <your-service> --env <your-environment> /path/to/sbom.json

Further reading

Additional helpful documentation, links, and articles: