provider dependency-graph GET /repos/{owner}/{repo}/dependency-graph/sbom/generate-report
@utdk/github /repos/{owner}/{repo}/dependency-graph/sbom/generate-report
Request generation of a software bill of materials (SBOM) for a repository.
Triggers a job to generate a software bill of materials (SBOM) for a repository in SPDX JSON format.
owner path required
The account owner of the repository. The name is not case sensitive.
string
repo path required
The name of the repository without the `.git` extension. The name is not case sensitive.
string

Try it

Authentication
Configure credentials for GitHub v3 REST API
dependencyGraph.generateSbomReport
GET/repos/{owner}/{repo}/dependency-graph/sbom/generate-report
Triggers a job to generate a software bill of materials (SBOM) for a repository in SPDX JSON format.

Parameters

required

The account owner of the repository. The name is not case sensitive.

required

The name of the repository without the `.git` extension. The name is not case sensitive.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.dependencyGraph.generateSbomReport()