Aqua Security · Arazzo Workflow

Aqua Security Create Assurance Policy

Version 1.0.0

Authenticate, create an image assurance security policy, then list policies to confirm it was registered.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Cloud-NativeContainersKubernetesRuntime ProtectionSecurityVulnerability ScanningArazzoWorkflows

Provider

aqua-security

Workflows

create-assurance-policy
Create an image assurance policy and confirm it via the policy list.
Logs in, creates a security policy with the supplied thresholds, and then lists policies to confirm the new policy exists.
3 steps inputs: block_failed, description, id, maximum_score, name, password outputs: createdPolicyName, policyCount
1
authenticate
Authenticate the user and obtain a JWT bearer token for the policy calls.
2
createPolicy
Create the new image assurance policy with the supplied score threshold and block-on-failure flag.
3
listPolicies
List all configured security policies to confirm the newly created policy is registered.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Aqua Security Create Assurance Policy
  summary: Authenticate, create an image assurance security policy, then list policies to confirm it was registered.
  description: >-
    Stands up a new image assurance policy and verifies it landed. The workflow
    logs in, creates a security policy with a maximum CVSS score and a
    block-on-failure flag, and then lists all configured policies to confirm the
    new policy is present. 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: authenticationApi
  url: ../openapi/aqua-security-authentication-api-openapi.yml
  type: openapi
- name: policiesApi
  url: ../openapi/aqua-security-policies-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-assurance-policy
  summary: Create an image assurance policy and confirm it via the policy list.
  description: >-
    Logs in, creates a security policy with the supplied thresholds, and then
    lists policies to confirm the new policy exists.
  inputs:
    type: object
    required:
    - id
    - password
    - name
    properties:
      id:
        type: string
        description: Aqua username or user ID used to authenticate.
      password:
        type: string
        description: Aqua user password used to authenticate.
      name:
        type: string
        description: Unique name for the new policy (e.g. high-security).
      description:
        type: string
        description: Human-readable description of the policy.
      block_failed:
        type: boolean
        description: Whether to block containers that fail policy evaluation.
      maximum_score:
        type: number
        description: Maximum CVSS score threshold allowed by the policy (0-10).
  steps:
  - stepId: authenticate
    description: >-
      Authenticate the user and obtain a JWT bearer token for the policy calls.
    operationId: login
    requestBody:
      contentType: application/json
      payload:
        id: $inputs.id
        password: $inputs.password
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      token: $response.body#/token
  - stepId: createPolicy
    description: >-
      Create the new image assurance policy with the supplied score threshold
      and block-on-failure flag.
    operationId: createPolicy
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $steps.authenticate.outputs.token"
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
        description: $inputs.description
        block_failed: $inputs.block_failed
        maximum_score: $inputs.maximum_score
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      name: $response.body#/name
      blockFailed: $response.body#/block_failed
      maximumScore: $response.body#/maximum_score
  - stepId: listPolicies
    description: >-
      List all configured security policies to confirm the newly created policy
      is registered.
    operationId: listPolicies
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $steps.authenticate.outputs.token"
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      count: $response.body#/count
      firstPolicyName: $response.body#/result/0/name
  outputs:
    createdPolicyName: $steps.createPolicy.outputs.name
    policyCount: $steps.listPolicies.outputs.count

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/aqua-security-create-assurance-policy-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.