Skip to content

Reuse SBOM scan results

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

Reuses existing SBOM scan results if scans for the specified digest already exist.

id
required
integer

Job’s ID

sbom_digest
required
string

The sbom digest that identifies an sbom scan uniquely

Media typeapplication/json
object
purl_types
required

The list of purl_types that are valid for given sbom digest

array
nullable
Examplegenerated
{
"purl_types": [
"example"
]
}

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

Result no longer available