Anchore · Arazzo Workflow
Anchore Subscribe on Policy Failure
Version 1.0.0
Evaluate an analyzed image against policy and, when it fails the gate, subscribe to ongoing policy-evaluation notifications for its tag.
View Spec
View on GitHub
Container SecurityContainersSBOMSoftware Supply ChainVulnerability ScanningArazzoWorkflows
Provider
Workflows
subscribe-on-policy-failure
Evaluate policy on an image and subscribe to policy_eval notifications when it fails the gate.
Runs a policy evaluation on the supplied image digest and, when the final action is stop, creates a policy_eval subscription keyed to the image tag.
1
evaluatePolicy
checkImagePolicy
Evaluate the image against the policy bundle and branch on the final gate action. A "stop" action means the image failed policy.
2
createPolicySubscription
createSubscription
Create a policy_eval subscription on the image tag so notifications are sent whenever the policy evaluation result changes.