-
Notifications
You must be signed in to change notification settings - Fork 610
[Bug] Pre-Built Detection Rules Package Versioning #2253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Pre-Built Detection Rules Package Versioning #2253
Conversation
| "previous": { | ||
| "8.2": { | ||
| "rule_name": "Potential Credential Access via Windows Utilities", | ||
| "sha256": "3c01d95323f7c5eb6e183e2123acd3cdd13019c938cea3a4331856c7fc486ca7", | ||
| "type": "eql", | ||
| "version": 8 | ||
| } | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did this overwrite the old previous? Where is the 7.16 previous?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are min_stacked but have not been forked yet.
"00140285-b827-4aee-aa09-8113f58a08f3": {
"min_stack_version": "7.16",
"rule_name": "Potential Credential Access via Windows Utilities",
"sha256": "3c01d95323f7c5eb6e183e2123acd3cdd13019c938cea3a4331856c7fc486ca7",
"type": "eql",
"version": 8
Mikaayenson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Removed version updates from rules where the type is |
|
It seems that a min_stack is automatically applied to the version lock contents in memory when running the following command and no Command: As seen below, 8.2 was not changed, but current was and the version bumped +1 as expected. However, if checking out 8.2 branch, we would expect the route to be chosen based on a previous entry existing where the key or stack value matches the current branch and adjust that hash and version only. At this time it does not as the same version lock file results resulted as above. We may need to introduce a new route in |
|
account for soft lock version stack reference in |
|
Closing this PR as a solution is being developed in #2259 |
Issues
Please refer to the issue for a detailed explanation.