services.crowdsec.localConfig.scenarios
NixOS option
A list of scenarios specifications. See https://docs.crowdsec.net/docs/scenarios/intro for details.
type: list of (YAML 1.1 value)Default
[ ]
Example
declared in: nixos/modules/services/security/crowdsec.nixView source on NixOS/nixpkgs →[
{
capacity = 5;
description = "Detect myservice bruteforce";
filter = "evt.Meta.log_type == 'myservice_failed_auth'";
groupby = "evt.Meta.source_ip";
leakspeed = "10s";
name = "crowdsecurity/myservice-bf";
type = "leaky";
}
]