services.crowdsec.localConfig.contexts
NixOS option
A list of additional contexts to specify. See https://docs.crowdsec.net/docs/next/log_processor/alert_context/intro for details.
type: list of (YAML 1.1 value)Default
[ ]
Example
declared in: nixos/modules/services/security/crowdsec.nixView source on NixOS/nixpkgs →[
{
context = {
method = [
"evt.Meta.http_verb"
];
status = [
"evt.Meta.http_status"
];
target_uri = [
"evt.Meta.http_path"
];
user_agent = [
"evt.Meta.http_user_agent"
];
};
}
]