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}')