-
Notifications
You must be signed in to change notification settings - Fork 609
Description
Is your feature request related to a problem? Please describe.
When we fork rules, we store the previous version information in our version_lock.json file. For example
"max_allowable_version": 99,
"rule_name": "Rule Name",
"sha256": "hash",
"type": "eql",
"version": 4
We then update the toml file with new metadata. For example
min_stack_comments = "Description of why we min_stacked"
min_stack_version = "8.3.0"
However, we don't store that information in the lock_file.
Describe the solution you'd like
Now that we've locked all of our rules at 8.3.0, we should begin to the min_stack_comments to the version_lock to preserve the historical information (if it exist). That way we can ensure (unit test) rules are receiving comment updates when we bump the rule min_stack, and it makes it easier to track progress of rules across many branches.
"max_allowable_version": 99,
"min_stack_comments": "Description of why we min_stacked"
"rule_name": "Rule Name",
"sha256": "hash",
"type": "eql",
"version": 4
Describe alternatives you've considered
We should about adding previous_locks and potentially adding previous_lock information to the toml file, but we've punted this idea for now. #1946 (comment)
Additional context
In #2272 we added the "max_allowable_version". We should add a new field similar to this.