capabilities.work

Scan Image On Demand

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

Recipe · 3 steps

Scan Image On Demand

Register a container image and poll its scan until vulnerabilities are available.

  1. Authenticate the user and obtain a JWT bearer token for the subsequent image-scanning calls.
  2. Register the supplied image so the Aqua platform begins scanning it for vulnerabilities and policy compliance.
  3. Read the image detail and branch on scan_status, looping until the scan reaches a terminal completed or failed state.
What you'll need to have ready
  • id: Aqua username or user ID used to authenticate.
  • password: Aqua user password used to authenticate.
  • registry: Name of the configured registry holding the image (e.g. docker-hub).
  • image: Full image name including tag to register (e.g. nginx:latest).
  • image_name: Image repository name used to read scan results (e.g. nginx).
  • image_tag: Image tag used to read scan results (e.g. latest).
For your developer

Arazzo workflow aqua-security:scan-image-on-demand, 3 operations: login → registerImage → getImage. Specs on APIs.io.