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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer
Job’s ID
sbom_digest
required
string
The sbom digest that identifies an sbom scan uniquely
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
purl_types
required
The list of purl_types that are valid for given sbom digest
array
Examplegenerated
{ "purl_types": [ "example" ]}Responses
Section titled “Responses”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