Wazuh ships with a Slack integration script that POSTs alerts to an incoming webhook. You can filter by alert level, rule ID or rule group so only what matters reaches the channel.
1. Create a Slack incoming webhook
In Slack go to Apps -> Incoming Webhooks -> Add to channel and copy the webhook URL.
2. Add the integration to ossec.conf
<integration>
<name>slack</name>
<hook_url>https://hooks.slack.com/services/XXX/YYY/ZZZ</hook_url>
<level>10</level>
<alert_format>json</alert_format>
</integration>3. Restart the manager
systemctl restart wazuh-managerNote: Use <rule_id> or <group> to send specific alerts (e.g. authentication_failed) to dedicated channels.
We design Slack/Teams routing tied to on-call rotations, contact us.
Official reference
Commands and configuration in this guide are based on the official Wazuh documentation. For the canonical source, see: