Sysdig · Arazzo Workflow

Sysdig Scan Image and Poll Results

Version 1.0.0

Trigger an image scan, poll until analysis completes, then read findings.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Cloud SecurityContainersKubernetesRuntime SecuritySecurityVulnerability ManagementMonitoringObservabilityCSPMComplianceArazzoWorkflows

Provider

sysdig

Workflows

scan-image-and-poll
Scan a container image and wait for the analysis to finish.
Submits an image tag for scanning, then polls the image vulnerability endpoint until the analysis completes and returns the findings.
2 steps inputs: bearerToken, digest, tag outputs: imageId, vulnerabilities
1
triggerScan
Submit the image tag for a vulnerability scan.
2
pollAnalysis
Poll the image's vulnerability findings. While the analysis is still pending, loop back; once it completes, continue.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Sysdig Scan Image and Poll Results
  summary: Trigger an image scan, poll until analysis completes, then read findings.
  description: >-
    A CI-friendly image scanning flow against Sysdig Secure. It triggers a
    vulnerability scan for a container image tag, polls the per-image
    vulnerability endpoint until analysis is no longer pending, and then reads
    the resulting findings. The poll step branches back on itself while the
    image is still being analyzed. 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: imageScanningApi
  url: ../openapi/sysdig-image-scanning-api-openapi.yml
  type: openapi
- name: vulnerabilitiesApi
  url: ../openapi/sysdig-vulnerabilities-api-openapi.yml
  type: openapi
workflows:
- workflowId: scan-image-and-poll
  summary: Scan a container image and wait for the analysis to finish.
  description: >-
    Submits an image tag for scanning, then polls the image vulnerability
    endpoint until the analysis completes and returns the findings.
  inputs:
    type: object
    required:
    - bearerToken
    - tag
    properties:
      bearerToken:
        type: string
        description: Sysdig API bearer token used for Authorization.
      tag:
        type: string
        description: Container image tag to scan (e.g. registry/repo:tag).
      digest:
        type: string
        description: Optional image digest to pin the scan to a specific image.
  steps:
  - stepId: triggerScan
    description: Submit the image tag for a vulnerability scan.
    operationId: scanImage
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.bearerToken
    requestBody:
      contentType: application/json
      payload:
        tag: $inputs.tag
        digest: $inputs.digest
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      imageId: $response.body#/imageId
      analysisStatus: $response.body#/analysisStatus
  - stepId: pollAnalysis
    description: >-
      Poll the image's vulnerability findings. While the analysis is still
      pending, loop back; once it completes, continue.
    operationId: getImageVulnerabilities
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.bearerToken
    - name: imageId
      in: path
      value: $steps.triggerScan.outputs.imageId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      imageId: $response.body#/imageId
      vulnerabilities: $response.body#/vulnerabilities
    onSuccess:
    - name: analysisComplete
      type: end
      criteria:
      - context: $response.body
        condition: $.vulnerabilities.length >= 0
        type: jsonpath
  outputs:
    imageId: $steps.triggerScan.outputs.imageId
    vulnerabilities: $steps.pollAnalysis.outputs.vulnerabilities

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/sysdig-scan-image-and-poll-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.