From 5da618572b72153ae1a776ae5c90a8ef5732d08a Mon Sep 17 00:00:00 2001 From: Terrance DeJesus <99630311+terrancedejesus@users.noreply.github.com> Date: Mon, 19 Sep 2022 14:50:46 -0400 Subject: [PATCH] adding adjustment to route c of manage_versions (#2307) (cherry picked from commit 3c97d34615aac670105fe8a1c8c7e99ec65bece6) --- detection_rules/version_lock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detection_rules/version_lock.py b/detection_rules/version_lock.py index ded4d3b0bbf..1398e5931ce 100644 --- a/detection_rules/version_lock.py +++ b/detection_rules/version_lock.py @@ -286,7 +286,7 @@ def log_changes(r, route_taken, new_rule_version, *msg): f'exceed the max allowable version of {max_allowable_version}') if info_from_rule != info_from_file: - lock_from_file["previous"][str(min_stack)] = lock_from_rule + lock_from_file["previous"][str(min_stack)].update(lock_from_rule) new_version = lock_from_rule["version"] log_changes(rule, route, 'unchanged', f'previous version {min_stack} updated version to {new_version}')