Warning: The
SBOM upload
command is in beta. It requires you to set DD_BETA_COMMANDS_ENABLED=1
, and should not be used in production.This command lets you upload SBOM files to the Datadog intake endpoint.
- CycloneDX 1.4
DD_BETA_COMMANDS_ENABLED=1 datadog-ci sbom upload --service <my-service> <path/to/sbom.json>
The following environment variables must be defined:
DD_SITE
: the Datadog siteDD_APP_KEY
: the App Key to useDD_API_KEY
: the API key to useDD_SERVICE
: the Datadog service you use (if--service
not specified)
When developing software, you can try with the following command:
DD_BETA_COMMANDS_ENABLED=1 yarn launch sbom upload --service <your-service> --env <your-environment> /path/to/sbom.json
Additional helpful documentation, links, and articles: