-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security Solutions] Change backend routes to use savedObject.resolve with signal id's #109191
Comments
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Reopening for QA check. |
Hi Team, We tested this ticket on the 7.14.0 release build and upgraded it to 7.16.0 BC2 and found that everything works as expected. After upgrading to 7.16.0, we are able to access the alerts and rules generated on the 7.14.0 build. Please find below the testing details: Build Details
Observations and screenshots
Alerts.mp4Please let us know if anything else is required from our end. Thanks!! c.c. @MadameSheema |
@dhurley14 can you please take a look at the above when you have the chance? Thanks! |
It's not clear to me whether the alert that @deepikakeshav-qasource clicked on in the video was generated in 7.14 or 7.16. When I tested out the change I started with:
Can we get confirmation this path works? |
Hi @dhurley14,
I have generated the alerts on 7.14.0 Thank you for sharing the steps. Please find the below observations: Steps:
Note: We have tried the above steps with non default space. however, unable to see the toast message after upgrade the build from 7.14.0 to 7.16.0. Please let us know if we are missing any step. Thanks!! |
@deepikakeshav-qasource I am so sorry. My instructions are incorrect. The upgrade should be from 7.14 to 8.0. The code for the toast message is in 7.16 but it won't appear unless the kibana version is 8.0 because 8.0 is when the breaking change from kibana security triggers the toast. If you can try the same instructions above but migrate from 7.14 to 8.0 the toast should appear. Apologies! |
Thanks @dhurley14! but right now is out of scope 8.0 since we are focusing on 7.16.0, but we'll take into consideration for the next testing cycle :) |
Okay sounds good. Let's keep this issue open until 8.0 BC's are available. |
Hey @MadameSheema @deepikakeshav-qasource can we re-test this with the 8.0 BC before closing out? |
I believe we can close out this issue now? @MadameSheema @deepikakeshav-qasource ? |
Hi @dhurley14 , For now we are unable to upgrade the build from Please let us know if we need to share our observation for any other build with upgrade path. Thanks!! |
@deepikakeshav-qasource @dhurley14 as per my understanding, the only way to upgrade to 8.0 is from 7.17.x so it is going to be impossible to upgrade from 7.14 to 8.0 directly, the path should be 7.14 -> 7.17 -> 8.0. @dhurley14 can you please confirm which is the upgrade path we need to verify? Thanks :) |
Hi yes the upgrade path from 7.17 -> 8.0 should work the same (hopefully!) Sorry for the confusion! |
Hi @dhurley14 , We have validated this ticket with upgrade path from Build Details:
Steps:
Please let us know if it if expected? Thanks!! |
Pinging @elastic/security-solution (Team: SecuritySolution) |
@deepikakeshav-qasource Sorry I don't think I clarified the exact steps outside of the original pr: #112478 It looks like that rule was created in the default space? The popup will only appear for a rule created in a non-default space. So the exact steps are to
There should be a redirect and a small toast message in the lower right corner similar to what appears in the screenshot in my original PR #112478 Sorry for the confusion! |
Hi @dhurley14 , Thanks for sharing the detailed steps. We have validated this ticket with above steps and observed that issue is fixed. 🟢 . Please find the below testing details: Build Details:
Steps:
rule_space.mp4Hence, We are closing this issue and marking as QA Validated. Thanks!! |
Describe the feature:
We currently are using SO id's for rules when users go to a particular route such as this one:
This is typically activated when a user clicks on a particular rule within timeline. When a user clicks on the row it prefers the Saved Object ID. However, that ID will be re-generated and we need to on the backend swap out the
savedObject.get()
call with asavedObject.resolve()
See https://www.elastic.co/guide/en/kibana/master/sharing-saved-objects.html#sharing-saved-objects-step-2
Eventually we would remove the resolve as time goes on and things are aged out, but really this is the least effort we can do. Otherwise we have to backtrack through the signals and re-write all of their saved object ID's to the new ones once the saved Object ID's will be regenerated for all rules on upgrade of the system.
Describe a specific use case for the feature:
As a user I want to continue to click on "old signals/alerts" and get to the correct ones even after upgrading my system.
Test Criteria
The text was updated successfully, but these errors were encountered: