Skip to content

Commit d4fb5ca

Browse files
Type Fix
1 parent 793ecfe commit d4fb5ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

detection_rules/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def generate_rules_index(
140140
@click.option("--action-connector-import", "-ac", is_flag=True, help="Include action connectors in export")
141141
@click.option("--exceptions-import", "-e", is_flag=True, help="Include exceptions in export")
142142
@click.option("--required-only", is_flag=True, help="Only prompt for required fields")
143-
@click.option("--directory", "-d", type=click.Path(file_okay=False, exists=True), help="Load files from a directory")
143+
@click.option("--directory", "-d", type=click.Path(file_okay=False, exists=True, path_type=Path), help="Load files from a directory")
144144
@click.option(
145145
"--save-directory",
146146
"-s",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "detection_rules"
3-
version = "1.5.22"
3+
version = "1.5.23"
44
description = "Detection Rules is the home for rules used by Elastic Security. This repository is used for the development, maintenance, testing, validation, and release of rules for Elastic Security’s Detection Engine."
55
readme = "README.md"
66
requires-python = ">=3.12"

0 commit comments

Comments
 (0)