Fortinet black logo
24.2.0

Automation

Automation

In Automation, you can enable trigger-based automation for alerts and receive notifications.

To configure an event handler stitch:
  1. Go to Administration > Automation.
  2. On the Actions tab, click Create new.
  3. To configure email notifications, do the following:
    1. Enable Email.
    2. Configure the desired email addresses to send the notification from and to.
  4. To configure webhooks, do the following:
    1. Enable Webhook.
    2. For Type, select Generic or MS Teams. Webhooks only support the HTTPS protocol.
    3. Do one of the following:
      • If you selected Generic, configure the following:

        Field

        Value

        Port

        Enter the port that FortiGate Cloud Premium uses to send the webhook. Enter a value between 0 and 65535.

        Method

        Select POST or PUT.

        Title

        Enter the desired title for the webhook to display.

        URL

        Enter a URL for the webhook.

        HTTP body

        Enter the webhook HTTP body.

        HTTP authentication

        Enable HTTP authentication to view the webhook.

      • If you selected MS Teams, configure the following:

        Field

        Value

        Method

        Select POST or PUT.

        Title

        Enter the desired title for the webhook to display in Microsoft Teams.

        URL

        Enter a URL for the webhook.

  5. Configure other fields as desired, then click OK.
  6. On the Stitches tab, click Create new.
  7. Click Add trigger. From the Select Entries pane, select the desired event to send notifications for.
  8. Click Add action. From the Select Entries pane, select the desired action to take.
  9. Click OK. When the trigger occurs, FortiGate Cloud Premium takes the configured action and sends notifications as configured.
To configure the Sandbox event handler stitch:
  1. Go to Administration > Automation.
  2. On the Actions tab, click Create new.
  3. Configure the desired email addresses to send the notification from and to.
  4. Configure other fields as desired, then click OK.
  5. On the Stitches tab, edit the Sandbox stitch.
  6. To configure email notifications, do the following:
    1. Enable Email.
    2. Configure the desired email addresses to send the notification from and to.
  7. To configure webhooks, do the following:
    1. Enable Webhook.
    2. For Type, select Generic or MS Teams. Webhooks only support the HTTPS protocol.
    3. Do one of the following:
      • If you selected Generic, configure the following:

        Field

        Value

        Port

        Enter the port that FortiGate Cloud uses to send the webhook. Enter a value between 0 and 65535.

        Method

        Select POST or PUT.

        Title

        Enter the desired title for the webhook to display.

        URL

        Enter a URL for the webhook.

        HTTP body

        Enter the webhook HTTP body.

        HTTP authentication

        Enable HTTP authentication to view the webhook.

      • If you selected MS Teams, configure the following:

        Field

        Value

        Method

        Select POST or PUT.

        Title

        Enter the desired title for the webhook to display in Microsoft Teams.

        URL

        Enter a URL for the webhook.

  8. Under Triggers, enable the desired file types to send notifications for.
  9. Click OK. When the trigger occurs, FortiGate Cloud Premium takes the configured action and sends notifications as configured.

Automation

In Automation, you can enable trigger-based automation for alerts and receive notifications.

To configure an event handler stitch:
  1. Go to Administration > Automation.
  2. On the Actions tab, click Create new.
  3. To configure email notifications, do the following:
    1. Enable Email.
    2. Configure the desired email addresses to send the notification from and to.
  4. To configure webhooks, do the following:
    1. Enable Webhook.
    2. For Type, select Generic or MS Teams. Webhooks only support the HTTPS protocol.
    3. Do one of the following:
      • If you selected Generic, configure the following:

        Field

        Value

        Port

        Enter the port that FortiGate Cloud Premium uses to send the webhook. Enter a value between 0 and 65535.

        Method

        Select POST or PUT.

        Title

        Enter the desired title for the webhook to display.

        URL

        Enter a URL for the webhook.

        HTTP body

        Enter the webhook HTTP body.

        HTTP authentication

        Enable HTTP authentication to view the webhook.

      • If you selected MS Teams, configure the following:

        Field

        Value

        Method

        Select POST or PUT.

        Title

        Enter the desired title for the webhook to display in Microsoft Teams.

        URL

        Enter a URL for the webhook.

  5. Configure other fields as desired, then click OK.
  6. On the Stitches tab, click Create new.
  7. Click Add trigger. From the Select Entries pane, select the desired event to send notifications for.
  8. Click Add action. From the Select Entries pane, select the desired action to take.
  9. Click OK. When the trigger occurs, FortiGate Cloud Premium takes the configured action and sends notifications as configured.
To configure the Sandbox event handler stitch:
  1. Go to Administration > Automation.
  2. On the Actions tab, click Create new.
  3. Configure the desired email addresses to send the notification from and to.
  4. Configure other fields as desired, then click OK.
  5. On the Stitches tab, edit the Sandbox stitch.
  6. To configure email notifications, do the following:
    1. Enable Email.
    2. Configure the desired email addresses to send the notification from and to.
  7. To configure webhooks, do the following:
    1. Enable Webhook.
    2. For Type, select Generic or MS Teams. Webhooks only support the HTTPS protocol.
    3. Do one of the following:
      • If you selected Generic, configure the following:

        Field

        Value

        Port

        Enter the port that FortiGate Cloud uses to send the webhook. Enter a value between 0 and 65535.

        Method

        Select POST or PUT.

        Title

        Enter the desired title for the webhook to display.

        URL

        Enter a URL for the webhook.

        HTTP body

        Enter the webhook HTTP body.

        HTTP authentication

        Enable HTTP authentication to view the webhook.

      • If you selected MS Teams, configure the following:

        Field

        Value

        Method

        Select POST or PUT.

        Title

        Enter the desired title for the webhook to display in Microsoft Teams.

        URL

        Enter a URL for the webhook.

  8. Under Triggers, enable the desired file types to send notifications for.
  9. Click OK. When the trigger occurs, FortiGate Cloud Premium takes the configured action and sends notifications as configured.