By Manny Fernandez

March 27, 2026

Sending FortiGate Alerts to Discord Channel

Sending FortiGate Alerts to Discord Channel

FortiGates have the ability to send alerts to Microsoft Team & Slack but did you know that you can send alerts to Discord?  Yes Discord.  Here is my configuration.

First lets create the Channel side on Discord

Creating Channel 

Create a new channel or use an existing one.

Right Click on the Channel and choose Edit Channel

Once in there, choose Integrations and Choose Create Webhook

Modify the information and change the avatar if you’d like.

Give it a descriptive name.

Then choose Copy Webhook URL and save it in a safe spot.

Configuring the Stitch 

Now we are going to head to the FortiGate

Go to System Fabric and Automation then choose Trigger on the top, and finally Create new.

The trigger is going to control what is going to need to occur in order to lauch the automation.

Give it a name and Choose FortiOS Event Log and in my example, I used Admin login successful save this and lets go to the

Now on the top, chose Action

Scroll down to Webhook and choose it.

  1. Give it a name
  2. Change from the default of HTTP to HTTPS
  3. Enter the webhook URL from the step above.
  4. Ensure that it is set to POST
  5. This is the body (I have sample code below)
  6. In this section type Content-Type .
  7. In this section type application/json
  8. Hit OK.

Here is the content for step number 5 above.

{
"content": "FortiGate %%log.logdesc%% on %%log.vd%%: %%log.msg%%"
}

Use the % button to see what options you can add to the HTTP body

Now we are going to put It all together.

So we have a Trigger that says Admin Logins and a Discord Action.  Hit OK.

Now you can login to the FortiGate with an administative account.  Go to your Discord server.

AI Data Leakage: Myths, Reality, and Locking It Down With Local Models

AI Data Leakage: Myths, Reality, and Locking It Down With Local Models

Learn what AI data leakage really means, which myths to ignore, and how to lock down local models with Ollama, host firewalls and FortiGate...

Read More
The Dark Web: The Good, the Bad and the Ugly (Myths vs. Reality)

The Dark Web: The Good, the Bad and the Ugly (Myths vs. Reality)

Dark web myths debunked: what is real, what is hype, what to avoid, how to stay legal, and how to block Tor on a...

Read More
FSSO Mobility Agent on VDI: Identify Chromebook Users Behind Parallels RAS with FortiAuthenticator

FSSO Mobility Agent on VDI: Identify Chromebook Users Behind Parallels RAS with FortiAuthenticator

Run the FSSO Mobility Agent in a VDI golden image so FortiGate identifies Chromebook users on Parallels RAS, and know when the TS Agent...

Read More