LetsDMARC Slack Alerts Feature
Requirements
- You have access to the Slack workspace.
- You have permission to create channels in the workspace.
- You have permission to create or install Slack apps.
Create a Channel in Slack
Slack provides an official guide explaining how to create a channel: https://slack.com/help/articles/201402297-Create-a-channel
Steps
- Open Slack.
- From the left sidebar, click the plus button next to Channels.
- Select Create a channel.
- Enter the channel name.
Example: letsdmarc-security-alerts
-
Optionally, add a channel description.
Example: Channel used to receive LetsDMARC security and system alerts via webhook.
- Choose the channel visibility:
- Public: visible and searchable by members of the workspace.
- Private: visible only to selected members.
- Click Create.
- Add the users or groups that need to receive the alerts.
Create an Incoming Webhook APP for the Channel
Slack allows external systems to post messages into a channel using Incoming Webhooks: https://docs.slack.dev/messaging/sending-messages-using-incoming-webhooks/
Steps
- Go to the Slack API apps page.
- Create a new Slack app.
- Choose From scratch.
-
Enter an app name.
Example: LetsDMARC Security Alerts Webhook
- Select the Slack workspace where the app should be installed.
- Click Create App.
- In the app configuration page, go to Incoming Webhooks.
- Enable Activate Incoming Webhooks.
- Click Add New Webhook to Workspace.
- Select the channel where alerts should be posted.
Example: #security-alerts
- Click Allow
- Slack will generate a unique Webhook URL
Add webhook URL to LetsDMARC recipient
Go in the Alert section, select the recipient you want to add the webhook URL to and enter the webhook link.