Amazon EC2 Image Builder · Arazzo Workflow

Amazon EC2 Image Builder Scan Image and Review Findings

Version 1.0.0

Build an image with vulnerability scanning enabled, poll it to completion, and list the scan findings.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Amazon Web ServicesAutomationContainer ImagesEC2Image BuildingVirtual Machine ImagesArazzoWorkflows

Provider

amazon-ec2-image-builder

Workflows

scan-image-and-review-findings
Build a scanned image, poll it, and list the vulnerability findings for it.
Creates an image with scanning enabled, polls GetImage until terminal, and lists the scan findings filtered by the image build version ARN.
3 steps inputs: clientToken, imageRecipeArn, infrastructureConfigurationArn outputs: finalStatus, findings, imageBuildVersionArn
1
createScannedImage
Create an image with image scanning enabled so Amazon Inspector evaluates the build instance.
2
getImage
Poll the image build version until it reaches a terminal state.
3
listScanFindings
List the image scan findings filtered to the image build version that was just built.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon EC2 Image Builder Scan Image and Review Findings
  summary: Build an image with vulnerability scanning enabled, poll it to completion, and list the scan findings.
  description: >-
    Produces a vulnerability report for a freshly built image. The workflow
    creates an image with image scanning enabled, polls the build until it
    reaches a terminal state, and then lists the image scan findings filtered to
    that image build version so the caller can review detected vulnerabilities.
    Every step spells out its request inline so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-620.40
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-620.40
      capability_name: Vulnerability Management
      spec: amazon-ec2-image-builder-listimagescanfindings-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: createimageApi
  url: ../openapi/amazon-ec2-image-builder-createimage-api-openapi.yml
  type: openapi
- name: getimageImagebuildversionarnApi
  url: ../openapi/amazon-ec2-image-builder-getimage-imagebuildversionarn-api-openapi.yml
  type: openapi
- name: listimagescanfindingsApi
  url: ../openapi/amazon-ec2-image-builder-listimagescanfindings-api-openapi.yml
  type: openapi
workflows:
- workflowId: scan-image-and-review-findings
  summary: Build a scanned image, poll it, and list the vulnerability findings for it.
  description: >-
    Creates an image with scanning enabled, polls GetImage until terminal, and
    lists the scan findings filtered by the image build version ARN.
  inputs:
    type: object
    required:
    - imageRecipeArn
    - infrastructureConfigurationArn
    properties:
      imageRecipeArn:
        type: string
        description: The ARN of the image recipe to build.
      infrastructureConfigurationArn:
        type: string
        description: The ARN of the infrastructure configuration used to build and test the image.
      clientToken:
        type: string
        description: An idempotency token for the create request.
        default: arazzo-scan-image-0001
  steps:
  - stepId: createScannedImage
    description: >-
      Create an image with image scanning enabled so Amazon Inspector evaluates
      the build instance.
    operationId: CreateImage
    requestBody:
      contentType: application/json
      payload:
        imageRecipeArn: $inputs.imageRecipeArn
        infrastructureConfigurationArn: $inputs.infrastructureConfigurationArn
        imageScanningConfiguration:
          imageScanningEnabled: true
        clientToken: $inputs.clientToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      imageBuildVersionArn: $response.body#/imageBuildVersionArn
  - stepId: getImage
    description: >-
      Poll the image build version until it reaches a terminal state.
    operationId: GetImage
    parameters:
    - name: imageBuildVersionArn
      in: query
      value: $steps.createScannedImage.outputs.imageBuildVersionArn
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/image/state/status
    onSuccess:
    - name: scanReady
      type: goto
      stepId: listScanFindings
      criteria:
      - context: $response.body
        condition: $.image.state.status == "AVAILABLE"
        type: jsonpath
    - name: scanUnavailable
      type: end
      criteria:
      - context: $response.body
        condition: $.image.state.status == "FAILED" || $.image.state.status == "CANCELLED"
        type: jsonpath
    - name: scanInProgress
      type: goto
      stepId: getImage
      criteria:
      - context: $response.body
        condition: $.image.state.status != "AVAILABLE" && $.image.state.status != "FAILED" && $.image.state.status != "CANCELLED"
        type: jsonpath
  - stepId: listScanFindings
    description: >-
      List the image scan findings filtered to the image build version that was
      just built.
    operationId: ListImageScanFindings
    requestBody:
      contentType: application/json
      payload:
        filters:
        - name: imageBuildVersionArn
          values:
          - $steps.createScannedImage.outputs.imageBuildVersionArn
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      findings: $response.body#/findings
  outputs:
    imageBuildVersionArn: $steps.createScannedImage.outputs.imageBuildVersionArn
    finalStatus: $steps.getImage.outputs.status
    findings: $steps.listScanFindings.outputs.findings

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-ec2-image-builder-scan-image-and-review-findings-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.