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] [Security Solution][Entity Analytics] Scoping the entity store to spaces (#193303) #193697

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

tiansivive
Copy link
Contributor

Backport

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

Questions ?

Please refer to the Backport tool documentation

…ces (elastic#193303)

## Summary

This PR introduces Kibana Spaces support for the Entity Store.
It implements elastic/security-team#10530

### How to test

1. Add some host/user data
* Easiest is to use
[elastic/security-data-generator](https://github.com/elastic/security-documents-generator)
2. Make sure to add `entityStoreEnabled` under
`xpack.securitySolution.enableExperimental` in your `kibana.dev.yml`
3. Make sure to create a second space other than `default`, either via
the UI or the spaces API.
4. In the default space kibana dev tools, call the `POST
kbn:/api/entity_store/engines/{entity_type}/init {}` route for either
`user` or `host`.
5. Switch to the other space and call `INIT` again.
6. Check that calling the `GET kbn:api/entity_store/engines` route in
each space returns only one engine.
7. Check that calling `GET
/.kibana*/_search?q=type:entity-engine-status` returns 2 engines, one in
each space.

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 16dcfa8)
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@tiansivive tiansivive merged commit 05e9b8f into elastic:8.x Sep 23, 2024
33 checks passed
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