[SecuritySolution] Update Entity Store Dashboard to prompt for Service Entity Type #207336
[SecuritySolution] Update Entity Store Dashboard to prompt for Service Entity Type #207336machadoum merged 12 commits intoelastic:mainfrom
Conversation
296871c to
9358a54
Compare
7088e2f to
aa7b0e9
Compare
|
Pinging @elastic/security-solution (Team: SecuritySolution) |
|
Pinging @elastic/security-entity-analytics (Team:Entity Analytics) |
.../security_solution/public/entity_analytics/components/entity_store/hooks/use_entity_store.ts
Outdated
Show resolved
Hide resolved
...on/public/entity_analytics/components/entity_store/components/dashboard_enablement_panel.tsx
Outdated
Show resolved
Hide resolved
|
I have addressed the comments and enabled the experimental flag by default. |
tiansivive
left a comment
There was a problem hiding this comment.
Thanks for this Pablo, just soome small comments
...on/public/entity_analytics/components/entity_store/components/dashboard_enablement_panel.tsx
Outdated
Show resolved
Hide resolved
.../security_solution/public/entity_analytics/components/entity_store/hooks/use_entity_store.ts
Outdated
Show resolved
Hide resolved
Allo! The testing instructions say it to disable this and check service store is not installed. When I do this it is installed. Double checked this with restarting ES and Kibana. Disabled the flag via |
I'm very sorry about that. I added a new commit that enables the flag by default, as discussed during stand-up, but haven't updated the test steps. I will do that now. |
jaredburgettelastic
left a comment
There was a problem hiding this comment.
I have not desk tested, but changes LGTM!
CAWilson94
left a comment
There was a problem hiding this comment.
Desk tested - enable callout working and service store is installed ✅ Nice Work!
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/12927538944 |
💛 Build succeeded, but was flaky
Failed CI StepsTest FailuresMetrics [docs]Async chunks
History
cc @machadoum |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…e Entity Type (elastic#207336) ## Summary * Display a callout to install uninstalled entity types * It will be displayed when the entity store is running, but some available entity types are not installed * Add `entityTypes` param to the init entity store API * Enable `serviceEntityStoreEnabled` flag by default ### Checklist ### How to test it? * Disable the experimental flag on `x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts` * Open `Manage/Entity Store/Engine Status` * Verify that the service entity store is NOT installed * Reenable the flag on `x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts` * Open the Entity Dashboard page * It should display a callout to install more entity types * Click "enable" * It should install the service entity store * Open `Manage/Entity Store/Engine Status` * Verify that the service entity store IS installed Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
…e Entity Type (elastic#207336) ## Summary * Display a callout to install uninstalled entity types * It will be displayed when the entity store is running, but some available entity types are not installed * Add `entityTypes` param to the init entity store API * Enable `serviceEntityStoreEnabled` flag by default ### Checklist ### How to test it? * Disable the experimental flag on `x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts` * Open `Manage/Entity Store/Engine Status` * Verify that the service entity store is NOT installed * Reenable the flag on `x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts` * Open the Entity Dashboard page * It should display a callout to install more entity types * Click "enable" * It should install the service entity store * Open `Manage/Entity Store/Engine Status` * Verify that the service entity store IS installed Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 5c59f3b) # Conflicts: # oas_docs/output/kibana.yaml # x-pack/solutions/security/plugins/security_solution/common/api/entity_analytics/entity_store/enable.gen.ts # x-pack/solutions/security/plugins/security_solution/common/api/entity_analytics/entity_store/enable.schema.yaml # x-pack/solutions/security/plugins/security_solution/docs/openapi/ess/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml # x-pack/solutions/security/plugins/security_solution/docs/openapi/serverless/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml # x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/entity_store/components/dashboard_enablement_panel.tsx # x-pack/solutions/security/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
|
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
…Service Entity Type (#207336) (#208319) # Backport This will backport the following commits from `main` to `8.x`: - [[SecuritySolution] Update Entity Store Dashboard to prompt for Service Entity Type (#207336)](#207336) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Pablo Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2025-01-23T10:46:46Z","message":"[SecuritySolution] Update Entity Store Dashboard to prompt for Service Entity Type (#207336)\n\n## Summary\n\n* Display a callout to install uninstalled entity types\n* It will be displayed when the entity store is running, but some\navailable entity types are not installed\n* Add `entityTypes` param to the init entity store API\n* Enable `serviceEntityStoreEnabled` flag by default\n### Checklist\n\n\n### How to test it?\n* Disable the experimental flag on\n`x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts`\n* Open `Manage/Entity Store/Engine Status`\n* Verify that the service entity store is NOT installed\n* Reenable the flag on\n`x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts`\n* Open the Entity Dashboard page\n* It should display a callout to install more entity types\n* Click \"enable\"\n* It should install the service entity store\n* Open `Manage/Entity Store/Engine Status`\n* Verify that the service entity store IS installed\n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5c59f3bdcdd9524667047ed546c6370015ed96d2","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["v9.0.0","Team: SecuritySolution","release_note:feature","Theme: entity_analytics","Feature:Entity Analytics","Team:Entity Analytics","backport:version","v8.18.0"],"title":"[SecuritySolution] Update Entity Store Dashboard to prompt for Service Entity Type ","number":207336,"url":"https://github.com/elastic/kibana/pull/207336","mergeCommit":{"message":"[SecuritySolution] Update Entity Store Dashboard to prompt for Service Entity Type (#207336)\n\n## Summary\n\n* Display a callout to install uninstalled entity types\n* It will be displayed when the entity store is running, but some\navailable entity types are not installed\n* Add `entityTypes` param to the init entity store API\n* Enable `serviceEntityStoreEnabled` flag by default\n### Checklist\n\n\n### How to test it?\n* Disable the experimental flag on\n`x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts`\n* Open `Manage/Entity Store/Engine Status`\n* Verify that the service entity store is NOT installed\n* Reenable the flag on\n`x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts`\n* Open the Entity Dashboard page\n* It should display a callout to install more entity types\n* Click \"enable\"\n* It should install the service entity store\n* Open `Manage/Entity Store/Engine Status`\n* Verify that the service entity store IS installed\n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5c59f3bdcdd9524667047ed546c6370015ed96d2"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/207336","number":207336,"mergeCommit":{"message":"[SecuritySolution] Update Entity Store Dashboard to prompt for Service Entity Type (#207336)\n\n## Summary\n\n* Display a callout to install uninstalled entity types\n* It will be displayed when the entity store is running, but some\navailable entity types are not installed\n* Add `entityTypes` param to the init entity store API\n* Enable `serviceEntityStoreEnabled` flag by default\n### Checklist\n\n\n### How to test it?\n* Disable the experimental flag on\n`x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts`\n* Open `Manage/Entity Store/Engine Status`\n* Verify that the service entity store is NOT installed\n* Reenable the flag on\n`x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts`\n* Open the Entity Dashboard page\n* It should display a callout to install more entity types\n* Click \"enable\"\n* It should install the service entity store\n* Open `Manage/Entity Store/Engine Status`\n* Verify that the service entity store IS installed\n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5c59f3bdcdd9524667047ed546c6370015ed96d2"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
…e Entity Type (elastic#207336) ## Summary * Display a callout to install uninstalled entity types * It will be displayed when the entity store is running, but some available entity types are not installed * Add `entityTypes` param to the init entity store API * Enable `serviceEntityStoreEnabled` flag by default ### Checklist ### How to test it? * Disable the experimental flag on `x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts` * Open `Manage/Entity Store/Engine Status` * Verify that the service entity store is NOT installed * Reenable the flag on `x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts` * Open the Entity Dashboard page * It should display a callout to install more entity types * Click "enable" * It should install the service entity store * Open `Manage/Entity Store/Engine Status` * Verify that the service entity store IS installed Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>


Summary
This ticket is part of the Service Entity Store Epic.
entityTypesparam to the init entity store APIserviceEntityStoreEnabledflag by defaultChecklist
How to test it?
x-pack/solutions/security/plugins/security_solution/common/experimental_features.tsManage/Entity Store/Engine Statusx-pack/solutions/security/plugins/security_solution/common/experimental_features.tsManage/Entity Store/Engine StatusReviewers should verify this PR satisfies this list as well.
release_note:*label is applied per the guidelines