Skip to content

Upload an SBOM file

POST
/api/v4/jobs/{id}/sbom_scans

Uploads an SBOM file to be scanned for a specified job.

id
required
integer

Job’s ID

Media typemultipart/form-data
object
file
required

The sbom file to upload

string format: binary
nullable
sbom_digest

Digest corresponding to uploaded SBOM

string
nullable

Created

Media typeapplication/json
object
id
integer format: int64
download_url
string
throttled
boolean
project_throttling_resets_in
integer
advisory_db_state
string
Examplegenerated
{
"id": 1,
"download_url": "example",
"throttled": true,
"project_throttling_resets_in": 1,
"advisory_db_state": "example"
}

Bad request

Forbidden

Not Found

File too large