Webhook action
The Webhook action can send data to another application using a REST callback.
In this example, in case of high server response time, FortiADC will change the configuration on FortiGate to prioritize specific applications.
To configure the Webhook automation stitch:
- Go to Security Fabric > Automation.
- Click Create New.
- Enter a name for the stitch.
- Select Enable to enable this automation.
- Select the trigger SLB Metric and configure the settings:
Performance Event The server load balance performance event that will trigger the action. Comparator The comparator to use:
Ge – greater than
Le – less than
Eq – equal to
The action will be triggered if the specified value satisfies the selected option.
Value The metric value that the Comparator uses to determine if the metric triggers an action. Virtual Server The virtual server. Duration The event duration, in seconds (5 - 3600, default = 5). - Select Webhook and configure the settings:
Name The action name. Delay The amount of time after the previous action before this action executes, in seconds (0 - 3600, default = 0). Protocol The request protocol to use: HTTP or HTTPS. Method The request method: POST, PUT, GET, PATCH, or DELETE. URL The request URL. HTTP Body The request body.
HTTP Header The HTTP request header name and value. - Click Save.