Integration with external APIs

Integrator is a new daemon that allows the connection of Wazuh to external APIs and alerting tools such as Slack and PagerDuty.


Integrator is not enabled by default. Integrator is enabled using the following command:

$ /var/ossec/bin/ossec-control enable integrator
$ /var/ossec/bin/ossec-control restart

Integrations are configured in the file etc/ossec.conf, which is located inside your Wazuh installation directory. Add the following inside <ossec_config> </ossec_config> to configure this integration:

     <name> </name>
     <hook_url> </hook_url>
     <api_key> </api_key>

  <!-- Optional filters -->

     <rule_id> </rule_id>
     <level> </level>
     <group> </group>
     <event_location> </event_location>

Integration with Slack


Integration with PagerDuty