Authorize SBOM file upload
POST
/api/v4/jobs/{id}/sbom_scans/authorize
Authorizes uploading an SBOM file to be scanned for a specified job.
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 typeapplication/json
object
filesize
Size of artifact file
integer
Examplegenerated
{ "filesize": 1}Responses
Section titled “Responses”SBOM Upload allowed
Bad Request
Forbidden
Not Found
File too large