Create Assurance Policy
A 3-step recipe with Aqua Security. We can help you get access.
Recipe · 3 steps
Create Assurance Policy
with Aqua Security
Create an image assurance policy and confirm it via the policy list.
- Authenticate the user and obtain a JWT bearer token for the policy calls.
- Create the new image assurance policy with the supplied score threshold and block-on-failure flag.
- 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.