v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Add GCP Artifact Registry

Add GCP Artifact Registry to Aikido to scan

post/containers/registries/gcp-artifact-registry

Request body

project_idstring required

The project id of the GCP project

service_account_keystring required

The service account key of the GCP project. This is the stringified JSON value of the access key.

Example request

{
  "project_id": "my-gcp-project",
  "service_account_key": "***************"
}

Response

The GCP Artifact Registry has been added to aikido.

registry_idinteger

The id of the newly added container registry in aikido

Example response

{
  "registry_id": 1
}