Authorize uploading SBOM file to be scanned
POST
/api/v4/jobs/{id}/sbom_scans/authorize
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” id
required
integer
Job’s ID
Request Body
Section titled “ Request Body ” Media type application/json
object
filesize
Size of artifact file
integer
Example generated
{ "filesize": 1}Responses
Section titled “ Responses ”SBOM Upload allowed
Bad Request
Forbidden
Not Found
File too large