MyNixOS website logo
option

services.crowdsec.localConfig.profiles

A list of profiles to enable.

See https://docs.crowdsec.net/docs/profiles/intro for more details.

Declarations
Type
list of (YAML 1.1 value)
Default
[
  {
    decisions = [
      {
        duration = "4h";
        type = "ban";
      }
    ];
    filters = [
      "Alert.Remediation == true && Alert.GetScope() == 'Ip'"
    ];
    name = "default_ip_remediation";
    on_success = "break";
  }
  {
    decisions = [
      {
        duration = "4h";
        type = "ban";
      }
    ];
    filters = [
      "Alert.Remediation == true && Alert.GetScope() == 'Range'"
    ];
    name = "default_range_remediation";
    on_success = "break";
  }
]
Example
[
  {
    decisions = [
      {
        duration = "4h";
        type = "ban";
      }
    ];
    filters = [
      "Alert.Remediation == true && Alert.GetScope() == 'Ip'"
    ];
    name = "default_ip_remediation";
    on_success = "break";
  }
  {
    decisions = [
      {
        duration = "4h";
        type = "ban";
      }
    ];
    filters = [
      "Alert.Remediation == true && Alert.GetScope() == 'Range'"
    ];
    name = "default_range_remediation";
    on_success = "break";
  }
]