capabilities.work

Create Assurance Policy

A 3-step recipe with Aqua Security. We can help you get access.

Recipe · 3 steps

Create Assurance Policy

Create an image assurance policy and confirm it via the policy list.

  1. Authenticate the user and obtain a JWT bearer token for the policy calls.
  2. Create the new image assurance policy with the supplied score threshold and block-on-failure flag.
  3. List all configured security policies to confirm the newly created policy is registered.
What you'll need to have ready
  • id: Aqua username or user ID used to authenticate.
  • password: Aqua user password used to authenticate.
  • name: Unique name for the new policy (e.g. high-security).
  • description: Human-readable description of the policy.
  • block_failed: Whether to block containers that fail policy evaluation.
  • maximum_score: Maximum CVSS score threshold allowed by the policy (0-10).
For your developer

Arazzo workflow aqua-security:create-assurance-policy, 3 operations: login → createPolicy → listPolicies. Specs on APIs.io.