v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Add public container

Add public container image to Aikido to scan, such as nginx:latest

post/containers/public

Request body

registry_kind'docker-hub' | 'aws-ecr' | 'github' | 'mcr' | 'elastic-co-public' | 'gcr' | 'quay' | 'gcp-artifact' | 'k8s-public' required

The registry where the public container is hosted

container_repo_namestring required

The full name of the public container

tagstring required

The container tag

Example request

{
  "registry_kind": "docker-hub",
  "container_repo_name": "node",
  "tag": "18"
}

Response

The public container has been added to aikido.

container_repo_idinteger

The id of the newly added container in aikido

Example response

{
  "container_repo_id": 1
}