MyNixOS website logo
option

services.crowdsec.settings.notifications

A list of notifications to enable and use in your profiles. Note that for now, only the plugins shipped by default with CrowdSec are supported.

See https://docs.crowdsec.net/docs/next/local_api/notification_plugins/intro for details.

Declarations
Type
list of (YAML 1.1 value)
Default
[ ]
Example
[
  {
    log_level = "info";
    method = "POST";
    name = "default_http_notification";
    type = "http";
    url = "https://example.com/hook";
    yaml = ''
      {{.|toJson}}
    '';
  }
]