-
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 Solution] Rule execution fails after importing a rule with Security Solution data view in a different space #137841
Comments
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
I'll look into this but I believe this could be due to the saved object id's being different between the two spaces? Or something with the saved object references for the exported rule.. |
This is similar to the experience we deal with currently with rule action connectors. On export, we only export the Would love some input here on what the experience should be. Ideally, a user would be able to completely export all their SOs with their rules and reimport into a new environment with no problem. In a more tiered approach I could see first updating the import/export UI to inform users of the behavior around data views and connectors. I'm not sure how portable the Kibana core import/export API is and if we can in any way begin to leverage it and move away from our own API as it is growing in complexity. Given that we do still allow the rule to be imported and a pretty clear error message is displayed, I think we can think of some updates for 8.5+. |
Can we chat about this to explore options during the advanced correlation sync perhaps? |
@jethr0null added it to next week's advanced correlation sync agenda. |
Note: users can share data views between spaces via the SOM. If the data view is shared between the exported space and the imported space, the newly-imported rule will behave as expected. NB that this won't work with cross-instance import/export. |
Describe the bug:
Kibana/Elasticsearch Stack version:
Initial setup:
Steps to reproduce:
Current behavior:
Expected behavior:
The text was updated successfully, but these errors were encountered: