capabilities.work

Onboard Registry Image

A 4-step recipe with Aqua Security. We can help you get access.

Recipe · 4 steps

Onboard Registry Image

Confirm a registry exists, register an image from it, and poll the scan.

  1. Authenticate the user and obtain a JWT bearer token for the registry and image calls.
  2. List configured registries and branch on whether the requested registry is present before attempting to register an image from it.
  3. Register the image from the confirmed registry so the platform begins scanning it.
  4. Read the image detail and loop until the scan reaches a terminal completed or failed state, returning the vulnerability counts.
What you'll need to have ready
  • id: Aqua username or user ID used to authenticate.
  • password: Aqua user password used to authenticate.
  • registry: Registry name the image must be onboarded from (e.g. docker-hub).
  • image: Full image name including tag to register (e.g. nginx:latest).
  • image_name: Image repository name used to read the scan result (e.g. nginx).
  • image_tag: Image tag used to read the scan result (e.g. latest).
For your developer

Arazzo workflow aqua-security:onboard-registry-image, 4 operations: login → listRegistries → registerImage → getImage. Specs on APIs.io.