-
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] [Bug] Enabling Entity Store shows An error occurred during entity store resource initialization
in second space if user re-create the space with same name again.
#216160
Comments
Pinging @elastic/security-solution (Team: SecuritySolution) |
@muskangulati-qasource Please review this ticket . Thanks. |
Pinging @elastic/security-entity-analytics (Team:Entity Analytics) |
Reviewed and assigned to @jaredburgettelastic |
Hi, This error seems to be related to When a I believe to properly clean up ES resources, users should first use the "Clear Entity Data" button at the top of the Entity Store page before deleting the space. This ensures that related ES resources are handled along with the Entity Store data. Could you try the following steps and check if the issue persists?
|
Thanks for the workaround steps. We have performed the same and we were able to enable the Entity Store using the mentioned steps. However, we have some queries related to the mentioned scenario. ObservationsQuery
Please let us know if anything else is required from our end. Thanks. |
@arvindersingh-qasource Agreed, I think this is indeed a bug (thank you @abhishekbhatia1710 for the workaround! 🚀 ) I'm discussing with Rules Management/Detection team how we can solve this problem across Security, as we'll need a way to hook into the "Delete Space" API in order to delete our additional resources. Stay tuned! For now, I'm reducing the impact to "medium" (as there is a workaround), and removing triage_needed |
Describe the bug
Enabling Entity Store shows
An error occurred during entity store resource initialization
in second space if user re-create the space with same name again.Kibana/Elasticsearch Stack version
Pre Conditions
Sandbox
)Steps
Sandbox
)Management
->Stack Management
->Entity Store
Sandbox
)Create Space
button.Sandbox
)Sandbox
)Management
->Stack Management
->Entity Store
An error occurred during entity store resource initialization
.Expected Result
User should be able to enable Entity Store again in second space when the space is created with same name as it was for earlier deleted space having entity store enabled.
Screen Recording
Spaces.-.Elastic.-.Google.Chrome.2025-03-27.17-23-37.mp4
The text was updated successfully, but these errors were encountered: