arazzo: 1.0.1
info:
title: Sysdig Scanned Image Inventory Review
summary: List scanned images, pick the first, and pull its vulnerabilities and SBOM.
description: >-
An inventory review flow against Sysdig Secure. It lists all container
images that have been scanned, selects the first image from the inventory,
retrieves that image's vulnerability findings, and pulls its SBOM so a
reviewer can assess the most recently catalogued image end to end. 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: sysdig-vulnerabilities-api-openapi.yml
confidence: 0.92
model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: imageScanningApi
url: ../openapi/sysdig-image-scanning-api-openapi.yml
type: openapi
- name: sbomApi
url: ../openapi/sysdig-sbom-api-openapi.yml
type: openapi
- name: vulnerabilitiesApi
url: ../openapi/sysdig-vulnerabilities-api-openapi.yml
type: openapi
workflows:
- workflowId: scanned-image-inventory-review
summary: Walk the scanned-image inventory and inspect the first image.
description: >-
Lists scanned images, takes the first image id, and retrieves both its
vulnerability findings and its SBOM.
inputs:
type: object
required:
- bearerToken
properties:
bearerToken:
type: string
description: Sysdig API bearer token used for Authorization.
limit:
type: integer
description: Maximum number of scanned images to list.
default: 50
steps:
- stepId: listImages
description: Retrieve the inventory of scanned container images.
operationId: listScannedImages
parameters:
- name: Authorization
in: header
value: Bearer $inputs.bearerToken
- name: limit
in: query
value: $inputs.limit
successCriteria:
- condition: $statusCode == 200
outputs:
imageId: $response.body#/images/0/imageId
fullTag: $response.body#/images/0/fullTag
- stepId: getVulns
description: Retrieve the vulnerability findings for the first scanned image.
operationId: getImageVulnerabilities
parameters:
- name: Authorization
in: header
value: Bearer $inputs.bearerToken
- name: imageId
in: path
value: $steps.listImages.outputs.imageId
successCriteria:
- condition: $statusCode == 200
outputs:
vulnerabilities: $response.body#/vulnerabilities
- stepId: getSbom
description: Retrieve the SBOM for the first scanned image.
operationId: getImageSBOM
parameters:
- name: Authorization
in: header
value: Bearer $inputs.bearerToken
- name: imageId
in: path
value: $steps.listImages.outputs.imageId
successCriteria:
- condition: $statusCode == 200
outputs:
components: $response.body#/components
outputs:
imageId: $steps.listImages.outputs.imageId
fullTag: $steps.listImages.outputs.fullTag
vulnerabilities: $steps.getVulns.outputs.vulnerabilities
sbomComponents: $steps.getSbom.outputs.components
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.