diff --git a/detection_rules/kbwrap.py b/detection_rules/kbwrap.py index 5f4719b5f..527920357 100644 --- a/detection_rules/kbwrap.py +++ b/detection_rules/kbwrap.py @@ -279,7 +279,7 @@ def kibana_export_rules(ctx: click.Context, directory: Path, action_connectors_d exceptions_containers, exceptions_items, exception_list_rule_table, - exceptions_directory, + exceptions_directory if exceptions_directory else None, save_toml=False, skip_errors=skip_errors, verbose=False, @@ -297,7 +297,7 @@ def kibana_export_rules(ctx: click.Context, directory: Path, action_connectors_d action_connectors, ac_output, ac_errors = build_action_connector_objects( action_connector_results, action_connector_rule_table, - action_connectors_directory=None, + action_connectors_directory=action_connectors_directory if action_connectors_directory else None, save_toml=False, skip_errors=skip_errors, verbose=False, diff --git a/pyproject.toml b/pyproject.toml index 3a97802a2..3c509144f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "detection_rules" -version = "0.3.15" +version = "0.3.16" 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." readme = "README.md" requires-python = ">=3.12"