Skip to main content

Approval

Approval mechanisms ensure that only authorized individuals or teams can execute playbook runs. This safeguard helps maintain control and security over critical operations.

To implement approval in a playbook, define the approval field:

approve-kubernetes-scaling.yaml
# This playbook scales a Kubernetes deployment and requires approval before execution.
kind: Playbook
# snipped
approval:
type: any
approvers:
people:
- admin@local
teams:
- DevOps
FieldDescriptionSchemeRequired
typeSpecifies the number of approvals required. Defaults to all.any or allfalse
approvers.[]peopleList of individuals who can approve the playbook run.Peoplefalse
approvers.[]teamsList of teams who can approve the playbook run.Teamfalse