v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Upload container SBOM

Upload a self-generated SBOM

post/containers/sbom

Request body

container_image_namestring required

The name of the image.

sbomobject required

The SBOM.

tagstring

The tag of the image.

digeststring

The digest of the image.

allow_multiple_tagsboolean

Allow multiple tags for the image to be created. Will create a new container image for each tag. This feature needs to be enabled by Aikido support before it can be used.

Response

The SBOM has been uploaded and is being scanned.

successinteger required

The integer 1 indicating success

container_repo_idinteger required

The container repository id in Aikido. Use with GET /containers/{container_repo_id} to poll scan completion (last_scanned_at).

scan_idinteger required

The scan audit log id for this upload.

Example response

{
  "success": 1,
  "container_repo_id": 12345,
  "scan_id": 67890
}