Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion detection_rules/version_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}')
Expand Down