Upload an SBOM file to be scanned
POST
/api/v4/jobs/{id}/sbom_scans
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” id
required
integer
Job’s ID
Request Body required
Section titled “ Request Body required ” Media type multipart/form-data
object
file
required
The sbom file to upload
string format: binary
sbom_digest
Digest corresponding to uploaded SBOM
string
Responses
Section titled “ Responses ”Created
Media type application/json
object
id
integer format: int64
download_url
string
throttled
boolean
project_throttling_resets_in
integer
advisory_db_state
string
Example generated
{ "id": 1, "download_url": "example", "throttled": true, "project_throttling_resets_in": 1, "advisory_db_state": "example"}Bad request
Forbidden
Not Found
File too large