Webhook action
Configure a Webhook action to send notifications to any message platform that supports webhook.
To configure a Webhook action:
- Log in to FortiWeb.
- Go to Security Fabric > Automation.
- Select the Action tab.
- Click Create New.
- Select Webhook. Configure the following:
Protocol Select whether to use HTTP or HTTPS for the connections between FortiWeb and the desired platform. URL Enter the webhook URL of the desired platform.
Method Configure the REST API call method. HTTP Body Enter the message body. It should be in JSON format.
Refer to Use Cases for the JSON message.
Please be cautious when using the%%results%%variable in the message body. The output from this variable may include characters such as Tabs or Paragraph breaks, which can cause parsing errors when the message is displayed in the desired platform.
It's important to provide sufficient information in the message so that your IT team can understand the issue and take appropriate actions. We have provided some message examples for your reference: Notification message examples.HTTP Header Enter the HTTP header name and value. - Click OK.