From cc00963fc35930e37d05f49e7321de1fea55f546 Mon Sep 17 00:00:00 2001 From: Eric Forte <119343520+eric-forte-elastic@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:31:23 -0500 Subject: [PATCH] [Bug] [DaC] Actions Connector Defaults to None (#4376) * Add explicit calls to pass directories * Bump Version --- detection_rules/kbwrap.py | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/detection_rules/kbwrap.py b/detection_rules/kbwrap.py index 5f4719b5f66..527920357b4 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 3a97802a2b0..3c509144f4e 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"