Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.8] [SecuritySolution] Align no indices state with Kibana dashboard (…
…elastic#155990) (elastic#156456) # Backport This will backport the following commits from `main` to `8.8`: - [[SecuritySolution] Align no indices state with Kibana dashboard (elastic#155990)](elastic#155990) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Angela Chuang","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-05-02T22:46:35Z","message":"[SecuritySolution] Align no indices state with Kibana dashboard (elastic#155990)\n\n## Summary\r\n\r\nSteps to reproduce:\r\n1. Make sure you have some data in Security Data View. Create a\r\ndashboard that consumes Security Data View, save it and add a `Security\r\nSolution` tag.\r\n2. Delete the non-empty indices in Security Data View\r\n3. Back to SecuritySolution > Dashboards, select the dashboard you\r\nadded.\r\n4. This is the current indices not found UI you'd see:\r\n<img width=\"2546\" alt=\"dashboard_view_indices_notfound\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/234829440-842442e1-f09a-464e-a6c0-8761a3124791.png\">\r\n\r\n\r\nExpected:\r\n- We should align the behaviour with Kibana dashboard when indices not\r\nfound:\r\n\r\n<img width=\"2555\" alt=\"Screenshot 2023-04-27 at 10 48 26\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/234829379-251fb621-e7cd-4788-a682-8a2bce25312a.png\">\r\n\r\nAfter:\r\n<img width=\"2542\" alt=\"Screenshot 2023-04-27 at 11 10 16\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/234832003-95f5c7e5-57d9-4424-b591-f512f365cda2.png\">","sha":"12277ac0b3bf8eb14ed2260cf58d9018197cef06","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat Hunting","Team:Threat Hunting:Explore","v8.8.0","Feature:Security Dashboards","v8.9.0"],"number":155990,"url":"https://github.com/elastic/kibana/pull/155990","mergeCommit":{"message":"[SecuritySolution] Align no indices state with Kibana dashboard (elastic#155990)\n\n## Summary\r\n\r\nSteps to reproduce:\r\n1. Make sure you have some data in Security Data View. Create a\r\ndashboard that consumes Security Data View, save it and add a `Security\r\nSolution` tag.\r\n2. Delete the non-empty indices in Security Data View\r\n3. Back to SecuritySolution > Dashboards, select the dashboard you\r\nadded.\r\n4. This is the current indices not found UI you'd see:\r\n<img width=\"2546\" alt=\"dashboard_view_indices_notfound\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/234829440-842442e1-f09a-464e-a6c0-8761a3124791.png\">\r\n\r\n\r\nExpected:\r\n- We should align the behaviour with Kibana dashboard when indices not\r\nfound:\r\n\r\n<img width=\"2555\" alt=\"Screenshot 2023-04-27 at 10 48 26\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/234829379-251fb621-e7cd-4788-a682-8a2bce25312a.png\">\r\n\r\nAfter:\r\n<img width=\"2542\" alt=\"Screenshot 2023-04-27 at 11 10 16\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/234832003-95f5c7e5-57d9-4424-b591-f512f365cda2.png\">","sha":"12277ac0b3bf8eb14ed2260cf58d9018197cef06"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155990","number":155990,"mergeCommit":{"message":"[SecuritySolution] Align no indices state with Kibana dashboard (elastic#155990)\n\n## Summary\r\n\r\nSteps to reproduce:\r\n1. Make sure you have some data in Security Data View. Create a\r\ndashboard that consumes Security Data View, save it and add a `Security\r\nSolution` tag.\r\n2. Delete the non-empty indices in Security Data View\r\n3. Back to SecuritySolution > Dashboards, select the dashboard you\r\nadded.\r\n4. This is the current indices not found UI you'd see:\r\n<img width=\"2546\" alt=\"dashboard_view_indices_notfound\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/234829440-842442e1-f09a-464e-a6c0-8761a3124791.png\">\r\n\r\n\r\nExpected:\r\n- We should align the behaviour with Kibana dashboard when indices not\r\nfound:\r\n\r\n<img width=\"2555\" alt=\"Screenshot 2023-04-27 at 10 48 26\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/234829379-251fb621-e7cd-4788-a682-8a2bce25312a.png\">\r\n\r\nAfter:\r\n<img width=\"2542\" alt=\"Screenshot 2023-04-27 at 11 10 16\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/234832003-95f5c7e5-57d9-4424-b591-f512f365cda2.png\">","sha":"12277ac0b3bf8eb14ed2260cf58d9018197cef06"}}]}] BACKPORT--> Co-authored-by: Angela Chuang <[email protected]>
- Loading branch information