-
Notifications
You must be signed in to change notification settings - Fork 564
Limit backports to 8.3+ #2450
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
Limit backports to 8.3+ #2450
Conversation
Co-authored-by: Mika Ayenson <[email protected]>
Update - 01-25-2023Known Issues: After further review, we have concluded that the second issue is the result of the first issue. Since the updated version lock file from this PR was incorrect after trimming, thus when updating the version lock file via Addressing the first issue, we changed the logic to Rule 1 Scenario Rule 2 Scenario In this case, the version.lock.json file was reviewed after trimming for both 8.3 and 8.4 to check that the results were desirable. |
Related issues for further reason to drop support: |
More related issues for further reason to drop support: |
Another related issue: |
@approksiu as of the FF for 8.8 release, we will be releasing from 8.8, 8.7, 8.6 and 8.5. For any PRs to detection rules we currently manage backporting for 10 branches. What is our goal moving forward with this at the moment? I am happy to limit the backports for now to our target release. |
Update 06/12/2023We are moving forward with limiting these backports. At the moment, we will limit backports and trim the version lock file for 8.3+ only. Once merged, we will ultimately detach our future dev from 8.2-. This means if we do any rule additions, rule validation or schema changes, we are not ensuring that these changes are valid with these stack versions, only 8.3+. Our rules are still available in EPR for 8.2- as well as the repo tags in Detection rules. After merging this, we need to create a doc that helps users convert rules that they may want to use for out-of-date stacks. |
* Drop Rule Support for Outdated Stack Versions Less Than 8.3 * changed version lock key assignment logic and updated version lock file * added comment to stack-schema-map file * changed version lock key assignment logic to use custom Version method) * Update detection_rules/devtools.py Co-authored-by: Mika Ayenson <[email protected]> * reverting version lock file to original * updated version lock from adjusted comparison logic of stack versions * updated logic in devtools; removed < 8.3.0 in version lock file * trimmed lock version before merge --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 8db42da)
* Drop Rule Support for Outdated Stack Versions Less Than 8.3 * changed version lock key assignment logic and updated version lock file * added comment to stack-schema-map file * changed version lock key assignment logic to use custom Version method) * Update detection_rules/devtools.py Co-authored-by: Mika Ayenson <[email protected]> * reverting version lock file to original * updated version lock from adjusted comparison logic of stack versions * updated logic in devtools; removed < 8.3.0 in version lock file * trimmed lock version before merge --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 8db42da)
* Drop Rule Support for Outdated Stack Versions Less Than 8.3 * changed version lock key assignment logic and updated version lock file * added comment to stack-schema-map file * changed version lock key assignment logic to use custom Version method) * Update detection_rules/devtools.py Co-authored-by: Mika Ayenson <[email protected]> * reverting version lock file to original * updated version lock from adjusted comparison logic of stack versions * updated logic in devtools; removed < 8.3.0 in version lock file * trimmed lock version before merge --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 8db42da)
* Drop Rule Support for Outdated Stack Versions Less Than 8.3 * changed version lock key assignment logic and updated version lock file * added comment to stack-schema-map file * changed version lock key assignment logic to use custom Version method) * Update detection_rules/devtools.py Co-authored-by: Mika Ayenson <[email protected]> * reverting version lock file to original * updated version lock from adjusted comparison logic of stack versions * updated logic in devtools; removed < 8.3.0 in version lock file * trimmed lock version before merge --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 8db42da)
* Drop Rule Support for Outdated Stack Versions Less Than 8.3 * changed version lock key assignment logic and updated version lock file * added comment to stack-schema-map file * changed version lock key assignment logic to use custom Version method) * Update detection_rules/devtools.py Co-authored-by: Mika Ayenson <[email protected]> * reverting version lock file to original * updated version lock from adjusted comparison logic of stack versions * updated logic in devtools; removed < 8.3.0 in version lock file * trimmed lock version before merge --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 8db42da)
* Drop Rule Support for Outdated Stack Versions Less Than 8.3 * changed version lock key assignment logic and updated version lock file * added comment to stack-schema-map file * changed version lock key assignment logic to use custom Version method) * Update detection_rules/devtools.py Co-authored-by: Mika Ayenson <[email protected]> * reverting version lock file to original * updated version lock from adjusted comparison logic of stack versions * updated logic in devtools; removed < 8.3.0 in version lock file * trimmed lock version before merge --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 8db42da)
Summary
As we move forward, we plan to limit automated backports to 8.3 within detection rules. We will continue to support older stacks, however as we add new features, we aim to prioritize forward progress within our schemas. This PR limits the automation to backport to 8.3, which is the first of future PRs that will be a sliding window as stack versions increase.
See the gdoc for more details.