Skip to content
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

[8.x] [Rules migration] Add possibility to navigate to a specific migration (#11264) (#201597) #201735

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…elastic#11264) (elastic#201597)

## Summary

[Internal link](elastic/security-team#10820)
to the feature details

With these changes we:
* allow user to navigate to a specific migration by its id
* handle different possible states on migrations rules page:
* `no migrations`: if there are no existing migrations we will redirect
user to the landing page
* `unknown selected migration`: if unknown migration id is specified in
the URL, then "Unknown Migration" page will be shown
* `no selected migration`: if user lands on the root "SIEM migrations
rules" page, then most recent migration will be shown
  * `show existing migration`: selected migration will be shown

### Screenshots

**Unknown migration**

<img width="1312" alt="Screenshot 2024-11-25 at 14 46 56"
src="https://github.com/user-attachments/assets/45f51489-e4f8-496f-86e6-d19130bd6769">

**Show existing migration**

<img width="1312" alt="Screenshot 2024-11-25 at 15 03 53"
src="https://github.com/user-attachments/assets/ca866432-5a61-44c7-8bec-7aa95ba73156">

(cherry picked from commit 17410c3)
@kibanamachine kibanamachine merged commit 5ebf435 into elastic:8.x Nov 26, 2024
37 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 13.3MB 13.3MB -98.0B

cc @e40pud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants