Discord Destination
Configuring Discord as an alert destination in your Panther Console
Last updated
Configuring Discord as an alert destination in your Panther Console
Last updated
Destinations are integrations that receive alerts from rules, policies, system health notifications, and rule errors. Panther supports configuring Discord as a destination where you will receive alerts.
In your Discord server, create a new channel or confirm which existing channel you want to send Panther alerts to.
Follow these steps for the Discord channel you wish to send alerts to:
In Discord, select the Server. Under Text Channels, locate the Discord channel you want to use. Select Edit Channel (gear icon).
Click Integrations and select Create Webhook.
Discord will create a new webhook for with a default name. Click on the webhook (in the example below, Spidey Bot) to expand it and view the details.
Optionally, rename the webhook then click Save Changes.
The webhook name is shown as the sender in your channel when alerts are delivered.
Click Copy Webhook URL. You will need this value in the next step.
For more information on using webhooks in Discord, please see Discord's webhook resource documentation.
In the Panther Console, navigate to Configure > Alert Destinations.
Click + Add your first Destination.
If you have already created Destinations, click Create New in the upper right side of the page to add a new Destination.
Click Discord.
On the "Configure Your Webhook Destination page", fill out the form:
Display Name: Enter a descriptive name.
Discord Webhook URL: Enter the Discord webhook URL you obtained in Step 1.
Your webhook URL will have the following format: https://discord.com/api/webhooks/<token-string>
Severity: Select the severity level of alerts to send to this Destination.
Alert Types: Select the alert types to send to this Destination.
Log Type: By default, we will send alerts from all log types. Specify log types here if you want to only send alerts from specific log types.
Click Add Destination.
Click Send Test Alert to make sure everything works correctly.
A test event should now exist in your Discord channel.
Click Finish Setup.
Click Test Alert to generate an alert and send to Discord. The payload of the alert is seen below:
Once the alert is received by Discord, a message is sent to a channel in Discord: