Policy Gate
Last updated
Last updated
An approval gate stops the pipeline and waits for approval either from a human user or from a computer based on data from a supported plugin.
You can add a Policy Gate after creating a pipeline to the application. To add a Policy Gate follow the steps below:
If you haven’t created an application already, click here.
If you haven’t created your pipelines yet, click here.
From the Application dashboard, select your application name which you need to edit a pipeline. Click Three dots at end of the application name and then select Edit Pipeline as shown in the image below.
2. The Pipelines page appears, where you need to add the Approval Stage. Click Add Stage, select Policy from the Type drop-down as shown in the image below.
The Policy Configuration page appears. You need to configure the policy configuration attributes as shown in the image below.
Policy configuration attributes
Environment: Select the environment relevant to this stage from the drop-down menu
Policy: Select the policy you want to evaluate. You can manage policies from Setup > Policies
Payload: You may pass an additional payload for the policy evaluation
Click Save changes and the Policy Gate is added to your pipeline.