MyNixOS website logo
option

services.crowdsec.localConfig.contexts

A list of additional contexts to specify.

See https://docs.crowdsec.net/docs/next/log_processor/alert_context/intro for details.

Declarations
Type
list of (YAML 1.1 value)
Default
[ ]
Example
[
  {
    context = {
      method = [
        "evt.Meta.http_verb"
      ];
      status = [
        "evt.Meta.http_status"
      ];
      target_uri = [
        "evt.Meta.http_path"
      ];
      user_agent = [
        "evt.Meta.http_user_agent"
      ];
    };
  }
]