From e6c6cb7a556c9dc5db743f61b117bba140db1d0d Mon Sep 17 00:00:00 2001 From: Ben Airey Date: Tue, 17 Dec 2024 13:39:59 -0600 Subject: [PATCH] update script --- .scripts/deleted_rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/deleted_rules.py b/.scripts/deleted_rules.py index c7c4d2cc7..382247e27 100644 --- a/.scripts/deleted_rules.py +++ b/.scripts/deleted_rules.py @@ -10,7 +10,7 @@ import panther_analysis_tool.command.bulk_delete as pat_delete import panther_analysis_tool.util as pat_util -diff_pattern = re.compile(r'^-(?:RuleID|PolicyID|QueryName):\s*"?([\w.]+)"?') +diff_pattern = re.compile(r'^-(?:RuleID|PolicyID|QueryName):\s*"?(.+?)["\n]') def get_deleted_ids() -> set[str]: