Fortinet white logo
Fortinet white logo

Administration Guide

Webhook action

Webhook action

Configure a Webhook action to send notifications to any message platform that supports webhook.

To configure a Webhook action:
  1. Log in to FortiWeb.
  2. Go to Security Fabric > Automation.
  3. Select the Action tab.
  4. Click Create New.
  5. Select Webhook. Configure the following:
    ProtocolSelect whether to use HTTP or HTTPS for the connections between FortiWeb and the desired platform.
    URL

    Enter the webhook URL of the desired platform.

    MethodConfigure 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 HeaderEnter the HTTP header name and value.
  6. Click OK.

Webhook action

Webhook action

Configure a Webhook action to send notifications to any message platform that supports webhook.

To configure a Webhook action:
  1. Log in to FortiWeb.
  2. Go to Security Fabric > Automation.
  3. Select the Action tab.
  4. Click Create New.
  5. Select Webhook. Configure the following:
    ProtocolSelect whether to use HTTP or HTTPS for the connections between FortiWeb and the desired platform.
    URL

    Enter the webhook URL of the desired platform.

    MethodConfigure 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 HeaderEnter the HTTP header name and value.
  6. Click OK.