All Products
Search
Document Center

Secure Access Service Edge:Configure an approval workflow

Last Updated:Mar 31, 2026

Approval flows let enterprise administrators control which SASE policies take effect by requiring designated approvers to review and authorize requests before they are applied. When a policy change is submitted, the designated approvers receive a notification and act on the request — approving or rejecting it — through the SASE console, DingTalk, or WeCom. SASE supports three approval flow types: built-in flows managed within the console, and flows integrated with DingTalk or WeCom so that approvers can act from the tools they already use.

Prerequisites

Before you begin, ensure that you have:

  • Access to the Secure Access Service Edge console

  • (For DingTalk integration) A DingTalk application with Client ID, Client Secret, aes_key, and token credentials ready

  • (For WeCom integration) Administrator authorization completed via WeCom QR code scan, and Alibaba Cloud customer service has finished the backend configuration

Create an approval flow

  1. Log on to the Secure Access Service Edge console.

  2. In the navigation pane on the left, choose Terminal Protection > Security Alerts.

  3. On the Workflow Management page, click Create Workflow.

  4. In the Create Approval Workflow panel, enter a Workflow Name. The name must be 1 to 128 characters and can contain Chinese characters, letters, digits, hyphens (-), and underscores (_).

  5. Under Approval Process Type, select the type of approval flow and configure the parameters for that type. See the sections below for type-specific parameters.

    TypeDescription
    Built-in Approval ProcessManaged entirely within SASE. Suitable for standard SASE service policies.
    DingTalk Approval ProcessRoutes approval requests through your DingTalk application.
    WeCom Approval ProcessRoutes approval requests through your WeCom application. Requires backend configuration by Alibaba Cloud customer service before use.
  6. Click OK.

Built-in approval flow

ParameterDescription
Approval WorkflowSet the approver flow. Add at least one level of approvers, up to five levels. For the first level, add up to five approvers — if any first-level approver approves the request, the flow is approved; if any approver rejects the request, the flow is rejected.
Application ReviewSelect one or more flow templates to associate with this approval flow. If no template is selected, the corresponding policy cannot be associated with this flow.

The following flow templates are available for Application Review:

TemplateAssociated policy location
Domain Name Whitelist TemplateInternet Access > Behavior Management (whitelist policies)
Domain Name Blacklist TemplateInternet Access > Behavior Management (blacklist policies)
Software Disabling TemplateSoftware Management > Software Blacklist (disabling policies)
File Exfiltration TemplateData Loss Prevention > Detection Policies (file exfiltration detection policies)
App Uninstall Policy TemplateTerminal Management > Uninstall Approval (registration policies)
Peripheral Control TemplateData Loss Prevention > Peripheral Management (detection policies)

DingTalk approval flow

ParameterDescription
Client IDThe ID of your DingTalk application. See Get the Client ID and Client Secret.
Client SecretThe secret of your DingTalk application. See Get the Client ID and Client Secret.
aes_keyThe encryption credential for DingTalk event subscriptions. See Get the aes_key and token.
tokenThe signature for DingTalk event subscriptions. See Get the aes_key and token.
Request URLThe public URL for DingTalk to push event subscription callbacks. Copy this URL to the Request URL field on the DingTalk Open Platform under Application Development > Internal Corporate Apps > DingTalk Apps > Development Configuration > Event Subscriptions.
Approval Process ConfigurationMaps SASE flow templates to DingTalk approval flows. Configure the Workflow Template, Associate DingTalk Process ID, System Fields, and Template Fields for each mapping. Click Add to configure additional approval flows under the same DingTalk application.
Note

A single SASE approval flow can be attached to multiple approval forms created under the same DingTalk application.

Get the Client ID and Client Secret

  1. Log on to the DingTalk Open Platform. In the top menu bar, choose Application Development.

  2. In the navigation pane on the left, choose DingTalk Apps. Click the name of the application you created to open its details page.

  3. In the navigation pane on the left, choose Credentials And Basic Information. On the App Credentials page, copy the Client ID and Client Secret.

Get the aes_key and token

  1. Log on to the DingTalk Open Platform. In the top menu bar, choose Application Development.

  2. In the navigation pane on the left, choose DingTalk Apps. Click the name of the application you created to open its details page.

  3. In the navigation pane on the left, choose Event Subscriptions.

  4. On the Event Subscriptions page, set Push Method to HTTP Push, then click the reset button to generate the Encryption Aes_key and Signature Token.

Warning

After you obtain the Encryption Aes_key and Signature Token, do not reset them again. Do not close or refresh the current page — you still need to configure the Request URL.

Configure the Approval Process Configuration

Under Approval Process Configuration, set the following fields for each mapping:

FieldDescription
Workflow TemplateThe built-in SASE flow template to associate.
Associate DingTalk Process IDThe form ID of the DingTalk approval flow. See View the DingTalk approval flow form ID.
System FieldsBuilt-in system fields from the SASE flow template. These fields cannot be edited.
Template FieldsFields configured in the associated DingTalk flow.

View the DingTalk approval flow form ID

  1. Log on to the DingTalk admin console.

  2. In the Common Applications section, choose Approval. Alternatively, go to Workbench > Application Management, find OA Approval in the list, and click Enter to open the OA Approval Back-end Management page.

  3. In the navigation pane on the left, choose Form Management.

  4. In the Form Management list, find the form ID of the approval flow.

    image

WeCom approval flow

After you select the WeCom approval flow, the administrator must use the WeCom client to scan a QR code for authorization, and then contact Alibaba Cloud customer service to complete the backend configuration. Configuration is only available after the backend setup is complete.

ParameterDescription
Approval Template MappingMap the built-in SASE flow template to a WeCom approval template and enter the corresponding flow ID.
Field ID MappingMap the system fields of the SASE flow template to the fields of the WeCom approval template.

More operations

OperationSteps
Copy a flowIn the Actions column, click Copy to clone an existing approval flow. Only built-in approval flows can be copied. DingTalk and WeCom flows do not support this operation.
Edit a flowIn the Actions column, click Edit to modify an approval flow.
Delete a flowIn the Actions column, click Delete. Before deleting, disassociate the flow from all policies — a flow cannot be deleted while associated with a policy.

Limitations

  • Copy is supported only for built-in approval flows. DingTalk and WeCom approval flows cannot be copied.

  • An approval flow cannot be deleted while it is associated with a policy. Disassociate the flow from all policies before deleting it.

  • WeCom approval flows require backend configuration by Alibaba Cloud customer service before they can be used. Allow additional setup time when planning a WeCom integration.

What's next