Skip to content

Commit 8eab808

Browse files
Update CLI docs
1 parent 6b363b5 commit 8eab808

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CLI.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ Options:
106106
-snv, --strip-none-values Strip None values from the rule
107107
-lc, --local-creation-date Preserve the local creation date of the rule
108108
-lu, --local-updated-date Preserve the local updated date of the rule
109+
-lr, --load-rule-loading Enable arbitrary rule loading from the rules directories (Can be very slow!)
109110
-h, --help Show this message and exit.
110111
```
111112

@@ -507,6 +508,7 @@ Options:
507508
-lu, --local-updated-date Preserve the local updated date of the rule
508509
-cro, --custom-rules-only Only export custom rules
509510
-eq, --export-query TEXT Apply a query filter to exporting rules e.g. "alert.attributes.tags: \"test\"" to filter for rules that have the tag "test"
511+
-lr, --load-rule-loading Enable arbitrary rule loading from the rules directories (Can be very slow!)
510512
-h, --help Show this message and exit.
511513
512514
```

detection_rules/kbwrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def _process_imported_items(
254254
"--load-rule-loading",
255255
"-lr",
256256
is_flag=True,
257-
help="Enable arbitrary rule loading from the rules directory (Can be very slow!)",
257+
help="Enable arbitrary rule loading from the rules directories (Can be very slow!)",
258258
)
259259
@click.pass_context
260260
def kibana_export_rules( # noqa: PLR0912, PLR0913, PLR0915

detection_rules/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def generate_rules_index(
161161
"--load-rule-loading",
162162
"-lr",
163163
is_flag=True,
164-
help="Enable arbitrary rule loading from the rules directory (Can be very slow!)",
164+
help="Enable arbitrary rule loading from the rules directories (Can be very slow!)",
165165
)
166166
def import_rules_into_repo( # noqa: PLR0912, PLR0913, PLR0915
167167
input_file: tuple[Path, ...] | None,

0 commit comments

Comments
 (0)