mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
nixos/crowdsec: Add missing option descriptions
This commit is contained in:
@@ -170,6 +170,11 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
description = ''
|
||||
The set of parser specifications.
|
||||
|
||||
See <https://docs.crowdsec.net/docs/parsers/intro> for details.
|
||||
'';
|
||||
default = { };
|
||||
};
|
||||
postOverflows = lib.mkOption {
|
||||
@@ -198,6 +203,11 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
description = ''
|
||||
The set of Postoverflows specifications.
|
||||
|
||||
See <https://docs.crowdsec.net/docs/next/log_processor/parsers/intro#postoverflows> for details.
|
||||
'';
|
||||
default = { };
|
||||
};
|
||||
contexts = lib.mkOption {
|
||||
@@ -306,6 +316,9 @@ in
|
||||
};
|
||||
patterns = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.package;
|
||||
description = ''
|
||||
A list of files containing custom grok patterns.
|
||||
'';
|
||||
default = [ ];
|
||||
example = lib.literalExpression ''
|
||||
[ (pkgs.writeTextDir "custom_service_logs" (builtins.readFile ./custom_service_logs)) ]
|
||||
@@ -313,6 +326,9 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
description = ''
|
||||
The configuration for a crowdsec security engine.
|
||||
'';
|
||||
default = { };
|
||||
};
|
||||
|
||||
@@ -473,6 +489,9 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
description = ''
|
||||
Set of various configuration attributes
|
||||
'';
|
||||
};
|
||||
};
|
||||
config =
|
||||
|
||||
Reference in New Issue
Block a user