Skip to content

[8.0] [Security Solution] Disable legacy rules on upgrade to 8.x (#121442)#122695

Merged
madirey merged 2 commits intoelastic:8.0from
madirey:backport/8.0/pr-121442
Jan 11, 2022
Merged

[8.0] [Security Solution] Disable legacy rules on upgrade to 8.x (#121442)#122695
madirey merged 2 commits intoelastic:8.0from
madirey:backport/8.0/pr-121442

Conversation

@madirey
Copy link
Copy Markdown
Contributor

@madirey madirey commented Jan 11, 2022

Backport

This is an automatic backport to 8.0 of:

Questions ?

Please refer to the Backport tool documentation

…21442)

* Disable legacy rule and notify user to upgrade

* Ensure rules are disabled on upgrade

* Fix dupe detection on upgrade

* Revert "Fix dupe detection on upgrade"

This reverts commit 021ec0f.

* Add legacy notification

* Add tests for 8.0 security_solution rule migration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 1ddb647)

# Conflicts:
#	x-pack/plugins/alerting/server/saved_objects/migrations.ts
#	x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts
#	x-pack/plugins/security_solution/server/plugin.ts
@madirey madirey added the backport This PR is a backport of another PR label Jan 11, 2022
@madirey madirey enabled auto-merge (squash) January 11, 2022 19:21
@kibana-ci
Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@madirey madirey merged commit ef1b80f into elastic:8.0 Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants