Anchore · Arazzo Workflow

Anchore Rescan Active Image and Gate

Version 1.0.0

Find an active analyzed image by tag, force a fresh vulnerability scan, and gate it against policy.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Container SecurityContainersSBOMSoftware Supply ChainVulnerability ScanningArazzoWorkflows

Provider

anchore

Workflows

rescan-active-image-and-gate
Locate an active image by tag, refresh its vulnerabilities, and re-evaluate policy.
Lists active images for a tag, branches on whether a match exists, and for the matched digest forces a vulnerability refresh and re-runs the policy evaluation.
3 steps inputs: authorization, policyId, tag, vtype outputs: finalAction, imageDigest, vulnerabilities
1
findActiveImage
List active images filtered by tag and branch on whether a matching active image exists.
2
refreshVulnerabilities
Force a fresh vulnerability evaluation of the matched image against the latest feed data.
3
regate
Re-run the policy gate on the matched image to catch drift introduced by newly disclosed vulnerabilities.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Anchore Rescan Active Image and Gate
  summary: Find an active analyzed image by tag, force a fresh vulnerability scan, and gate it against policy.
  description: >-
    A continuous-monitoring pattern. The workflow lists images filtered to the
    active status and a target tag, branches to stop early when no active image
    matches, and otherwise forces a fresh vulnerability evaluation against the
    latest feed data and then re-runs the policy gate so drift in newly
    disclosed vulnerabilities is caught for images already in production. 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
sourceDescriptions:
- name: imagesApi
  url: ../openapi/anchore-images-api-openapi.yml
  type: openapi
- name: policiesApi
  url: ../openapi/anchore-policies-api-openapi.yml
  type: openapi
- name: vulnerabilitiesApi
  url: ../openapi/anchore-vulnerabilities-api-openapi.yml
  type: openapi
workflows:
- workflowId: rescan-active-image-and-gate
  summary: Locate an active image by tag, refresh its vulnerabilities, and re-evaluate policy.
  description: >-
    Lists active images for a tag, branches on whether a match exists, and for
    the matched digest forces a vulnerability refresh and re-runs the policy
    evaluation.
  inputs:
    type: object
    required:
    - authorization
    - tag
    properties:
      authorization:
        type: string
        description: HTTP Basic authorization header value (e.g. "Basic dXNlcjpwYXNz").
      tag:
        type: string
        description: Image tag to locate among active images (e.g. docker.io/library/nginx:latest).
      vtype:
        type: string
        description: Vulnerability type to report (os, non-os, or all). Defaults to all.
      policyId:
        type: string
        description: Optional policy bundle id to evaluate against.
  steps:
  - stepId: findActiveImage
    description: >-
      List active images filtered by tag and branch on whether a matching active
      image exists.
    operationId: listImages
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: tag
      in: query
      value: $inputs.tag
    - name: image_status
      in: query
      value: active
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      imageDigest: $response.body#/0/imageDigest
    onSuccess:
    - name: found
      type: goto
      stepId: refreshVulnerabilities
      criteria:
      - context: $response.body
        condition: $.length > 0
        type: jsonpath
    - name: notFound
      type: end
      criteria:
      - context: $response.body
        condition: $.length == 0
        type: jsonpath
  - stepId: refreshVulnerabilities
    description: >-
      Force a fresh vulnerability evaluation of the matched image against the
      latest feed data.
    operationId: getImageVulnerabilities
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: imageDigest
      in: path
      value: $steps.findActiveImage.outputs.imageDigest
    - name: vtype
      in: path
      value: $inputs.vtype
    - name: force_refresh
      in: query
      value: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      vulnerabilities: $response.body#/vulnerabilities
  - stepId: regate
    description: >-
      Re-run the policy gate on the matched image to catch drift introduced by
      newly disclosed vulnerabilities.
    operationId: checkImagePolicy
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: imageDigest
      in: path
      value: $steps.findActiveImage.outputs.imageDigest
    - name: policyId
      in: query
      value: $inputs.policyId
    - name: tag
      in: query
      value: $inputs.tag
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      finalAction: $response.body#/0/finalAction
  outputs:
    imageDigest: $steps.findActiveImage.outputs.imageDigest
    vulnerabilities: $steps.refreshVulnerabilities.outputs.vulnerabilities
    finalAction: $steps.regate.outputs.finalAction

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/anchore-rescan-active-images-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.