[Entity Analytics][Entity Store] Refactor enablement UI#199762
[Entity Analytics][Entity Store] Refactor enablement UI#199762tiansivive merged 12 commits intoelastic:mainfrom
Conversation
bc6e0b1 to
96464fc
Compare
daa1371 to
2c8485f
Compare
|
Pinging @elastic/security-entity-analytics (Team:Entity Analytics) |
hop-dev
left a comment
There was a problem hiding this comment.
Tested locally, working great. Nice work 👍
Left a few comments, nothing blocking.
...on/public/entity_analytics/components/entity_store/components/dashboard_enablement_panel.tsx
Outdated
Show resolved
Hide resolved
...on/public/entity_analytics/components/entity_store/components/dashboard_enablement_panel.tsx
Show resolved
Hide resolved
...on/public/entity_analytics/components/entity_store/components/dashboard_enablement_panel.tsx
Show resolved
Hide resolved
...on/public/entity_analytics/components/entity_store/components/dashboard_enablement_panel.tsx
Show resolved
Hide resolved
.../security_solution/public/entity_analytics/components/entity_store/hooks/use_entity_store.ts
Show resolved
Hide resolved
x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/dashboard.cy.ts
Show resolved
Hide resolved
x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/dashboard.cy.ts
Outdated
Show resolved
Hide resolved
x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/dashboard.cy.ts
Show resolved
Hide resolved
x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/dashboard.cy.ts
Outdated
Show resolved
Hide resolved
x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/dashboard.cy.ts
Outdated
Show resolved
Hide resolved
x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/dashboard.cy.ts
Outdated
Show resolved
Hide resolved
x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/dashboard.cy.ts
Outdated
Show resolved
Hide resolved
x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/dashboard.cy.ts
Outdated
Show resolved
Hide resolved
MadameSheema
left a comment
There was a problem hiding this comment.
security engineering productivity changes LGTM!
| export const FLEET_URL = '/app/fleet'; | ||
|
|
||
| // Entity Analytics | ||
| export const ENTITY_ANALYTICS_DASHBOARD_URL = '/app/security/entity_analytics'; |
There was a problem hiding this comment.
this appears to be the only detection engine team related change
There was a problem hiding this comment.
hmm, is the codeownders correct? This looked like a more general directory, for shared utilities 🤔
PhilippeOberti
left a comment
There was a problem hiding this comment.
LGTM for the Threat Hunting Investigations team
ce7b3e8 to
fdde799
Compare
💚 Build Succeeded
Metrics [docs]Async chunks
History
|
## Summary * Add two tabs to the Entity Store page * The import entities tab has all the bulk upload content * The status tab has the new content created on this PR * Move the "clear entity store data" button to the header according to design mockups. * Delete unused stats route * Rename `enablement` API docs to `enable` * Add a new parameter to the status API (`withComponents`) * Should I make it snake cased? ### import entities tab  ### status tab  ## How to test it - Open security solution app with data - Go to entity store page - You shouldn't see the new tab because the engine is disabled - Enable the engine and wait - Click on the new tab that showed up - It should list user and host engine components, and everything should be installed - Delete or misconfigure some of the resources, the new status should be reflected on the tab. ## TODO: - [x] Rebase main after #199762 is merged - [x] Remove temporary status hook - [x] Fix the"clear entity data" button. It should re-fetch the status API. ### Checklist Reviewers should verify this PR satisfies this list as well. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [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 - [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>
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
## Summary This PR reworks the client side enablement flow for the Entity Store. It's the final piece for the work tracked in elastic/security-team#10846, elastic/security-team#10847 and elastic/security-team#10947 https://github.com/user-attachments/assets/bb919c3c-b8dc-4e6b-a14b-4d413f8da13f ## How to test Optionally On a fresh kibana and es cluster instance: 1. Load up some entity analytics data via the https://github.com/elastic/security-documents-generator * Running `yarn start entity-resolution-demo --mini` is enough 1. Navigate to `Security > Dashboards > Entity Analytics` 3. Click the `Enable` entity store button 4. Both Risk Score and Entity Store toggles should be checked. * This state represents the engines we will install, _NOT_ the current state 5. Click `Enable` 6. The modal should close and Risk Scoring should initialize first 7. As soon as risk score initialization finished, the entity store initialization should start * Risk score related panels should show up while the store is initializing 8. Finally, the Entities List panel should appear ## - [x] added cypress tests to verify the correct enablement flow (cherry picked from commit 722900e)
… (#202404) # Backport This will backport the following commits from `main` to `8.x`: - [[Entity Analytics][Entity Store] Refactor enablement UI (#199762)](#199762) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tiago Vila Verde","email":"tiago.vilaverde@elastic.co"},"sourceCommit":{"committedDate":"2024-11-28T12:01:56Z","message":"[Entity Analytics][Entity Store] Refactor enablement UI (#199762)\n\n## Summary\r\n\r\nThis PR reworks the client side enablement flow for the Entity Store.\r\nIt's the final piece for the work tracked in\r\nhttps://github.com/elastic/security-team/issues/10846,\r\nhttps://github.com/elastic/security-team/issues/10847 and\r\nhttps://github.com/elastic/security-team/issues/10947\r\n\r\n\r\nhttps://github.com/user-attachments/assets/bb919c3c-b8dc-4e6b-a14b-4d413f8da13f\r\n\r\n## How to test\r\n\r\nOptionally \r\n\r\nOn a fresh kibana and es cluster instance:\r\n1. Load up some entity analytics data via the\r\nhttps://github.com/elastic/security-documents-generator\r\n * Running `yarn start entity-resolution-demo --mini` is enough \r\n1. Navigate to `Security > Dashboards > Entity Analytics`\r\n3. Click the `Enable` entity store button\r\n4. Both Risk Score and Entity Store toggles should be checked.\r\n* This state represents the engines we will install, _NOT_ the current\r\nstate\r\n5. Click `Enable`\r\n6. The modal should close and Risk Scoring should initialize first\r\n7. As soon as risk score initialization finished, the entity store\r\ninitialization should start\r\n* Risk score related panels should show up while the store is\r\ninitializing\r\n8. Finally, the Entities List panel should appear \r\n\r\n\r\n##\r\n \r\n- [x] added cypress tests to verify the correct enablement flow","sha":"722900e6def904ac8dbdd20f0a04b5f418393617","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["technical debt","release_note:skip","v9.0.0","ci:cloud-deploy","Theme: entity_analytics","Team:Entity Analytics","backport:version","v8.18.0"],"number":199762,"url":"https://github.com/elastic/kibana/pull/199762","mergeCommit":{"message":"[Entity Analytics][Entity Store] Refactor enablement UI (#199762)\n\n## Summary\r\n\r\nThis PR reworks the client side enablement flow for the Entity Store.\r\nIt's the final piece for the work tracked in\r\nhttps://github.com/elastic/security-team/issues/10846,\r\nhttps://github.com/elastic/security-team/issues/10847 and\r\nhttps://github.com/elastic/security-team/issues/10947\r\n\r\n\r\nhttps://github.com/user-attachments/assets/bb919c3c-b8dc-4e6b-a14b-4d413f8da13f\r\n\r\n## How to test\r\n\r\nOptionally \r\n\r\nOn a fresh kibana and es cluster instance:\r\n1. Load up some entity analytics data via the\r\nhttps://github.com/elastic/security-documents-generator\r\n * Running `yarn start entity-resolution-demo --mini` is enough \r\n1. Navigate to `Security > Dashboards > Entity Analytics`\r\n3. Click the `Enable` entity store button\r\n4. Both Risk Score and Entity Store toggles should be checked.\r\n* This state represents the engines we will install, _NOT_ the current\r\nstate\r\n5. Click `Enable`\r\n6. The modal should close and Risk Scoring should initialize first\r\n7. As soon as risk score initialization finished, the entity store\r\ninitialization should start\r\n* Risk score related panels should show up while the store is\r\ninitializing\r\n8. Finally, the Entities List panel should appear \r\n\r\n\r\n##\r\n \r\n- [x] added cypress tests to verify the correct enablement flow","sha":"722900e6def904ac8dbdd20f0a04b5f418393617"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199762","number":199762,"mergeCommit":{"message":"[Entity Analytics][Entity Store] Refactor enablement UI (#199762)\n\n## Summary\r\n\r\nThis PR reworks the client side enablement flow for the Entity Store.\r\nIt's the final piece for the work tracked in\r\nhttps://github.com/elastic/security-team/issues/10846,\r\nhttps://github.com/elastic/security-team/issues/10847 and\r\nhttps://github.com/elastic/security-team/issues/10947\r\n\r\n\r\nhttps://github.com/user-attachments/assets/bb919c3c-b8dc-4e6b-a14b-4d413f8da13f\r\n\r\n## How to test\r\n\r\nOptionally \r\n\r\nOn a fresh kibana and es cluster instance:\r\n1. Load up some entity analytics data via the\r\nhttps://github.com/elastic/security-documents-generator\r\n * Running `yarn start entity-resolution-demo --mini` is enough \r\n1. Navigate to `Security > Dashboards > Entity Analytics`\r\n3. Click the `Enable` entity store button\r\n4. Both Risk Score and Entity Store toggles should be checked.\r\n* This state represents the engines we will install, _NOT_ the current\r\nstate\r\n5. Click `Enable`\r\n6. The modal should close and Risk Scoring should initialize first\r\n7. As soon as risk score initialization finished, the entity store\r\ninitialization should start\r\n* Risk score related panels should show up while the store is\r\ninitializing\r\n8. Finally, the Entities List panel should appear \r\n\r\n\r\n##\r\n \r\n- [x] added cypress tests to verify the correct enablement flow","sha":"722900e6def904ac8dbdd20f0a04b5f418393617"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
## Summary * Add two tabs to the Entity Store page * The import entities tab has all the bulk upload content * The status tab has the new content created on this PR * Move the "clear entity store data" button to the header according to design mockups. * Delete unused stats route * Rename `enablement` API docs to `enable` * Add a new parameter to the status API (`withComponents`) * Should I make it snake cased? ### import entities tab  ### status tab  ## How to test it - Open security solution app with data - Go to entity store page - You shouldn't see the new tab because the engine is disabled - Enable the engine and wait - Click on the new tab that showed up - It should list user and host engine components, and everything should be installed - Delete or misconfigure some of the resources, the new status should be reflected on the tab. ## TODO: - [x] Rebase main after elastic#199762 is merged - [x] Remove temporary status hook - [x] Fix the"clear entity data" button. It should re-fetch the status API. ### Checklist Reviewers should verify this PR satisfies this list as well. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [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 - [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 06b7993) # Conflicts: # oas_docs/output/kibana.serverless.yaml # x-pack/plugins/security_solution/docs/openapi/ess/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml # x-pack/plugins/security_solution/docs/openapi/serverless/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml # x-pack/test/api_integration/services/security_solution_api.gen.ts
# Backport This will backport the following commits from `main` to `8.x`: - [[SecuritySolution] Entity Engine status tab (#201235)](#201235) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Pablo Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2024-11-29T15:29:04Z","message":"[SecuritySolution] Entity Engine status tab (#201235)\n\n## Summary\r\n\r\n* Add two tabs to the Entity Store page\r\n * The import entities tab has all the bulk upload content\r\n * The status tab has the new content created on this PR\r\n* Move the \"clear entity store data\" button to the header according to\r\ndesign mockups.\r\n* Delete unused stats route\r\n* Rename `enablement` API docs to `enable`\r\n* Add a new parameter to the status API (`withComponents`)\r\n * Should I make it snake cased?\r\n\r\n### import entities tab\r\n\r\n\r\n\r\n### status tab\r\n\r\n\r\n\r\n## How to test it\r\n- Open security solution app with data\r\n- Go to entity store page\r\n- You shouldn't see the new tab because the engine is disabled\r\n- Enable the engine and wait\r\n- Click on the new tab that showed up\r\n- It should list user and host engine components, and everything should\r\nbe installed\r\n- Delete or misconfigure some of the resources, the new status should be\r\nreflected on the tab.\r\n\r\n\r\n## TODO:\r\n- [x] Rebase main after #199762 is\r\nmerged\r\n - [x] Remove temporary status hook\r\n- [x] Fix the\"clear entity data\" button. It should re-fetch the status\r\nAPI.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n### Checklist\r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"06b7993bd90cf84f87a99668c4425fb4dd6d6b5e","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"],"number":201235,"url":"https://github.com/elastic/kibana/pull/201235","mergeCommit":{"message":"[SecuritySolution] Entity Engine status tab (#201235)\n\n## Summary\r\n\r\n* Add two tabs to the Entity Store page\r\n * The import entities tab has all the bulk upload content\r\n * The status tab has the new content created on this PR\r\n* Move the \"clear entity store data\" button to the header according to\r\ndesign mockups.\r\n* Delete unused stats route\r\n* Rename `enablement` API docs to `enable`\r\n* Add a new parameter to the status API (`withComponents`)\r\n * Should I make it snake cased?\r\n\r\n### import entities tab\r\n\r\n\r\n\r\n### status tab\r\n\r\n\r\n\r\n## How to test it\r\n- Open security solution app with data\r\n- Go to entity store page\r\n- You shouldn't see the new tab because the engine is disabled\r\n- Enable the engine and wait\r\n- Click on the new tab that showed up\r\n- It should list user and host engine components, and everything should\r\nbe installed\r\n- Delete or misconfigure some of the resources, the new status should be\r\nreflected on the tab.\r\n\r\n\r\n## TODO:\r\n- [x] Rebase main after #199762 is\r\nmerged\r\n - [x] Remove temporary status hook\r\n- [x] Fix the\"clear entity data\" button. It should re-fetch the status\r\nAPI.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n### Checklist\r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"06b7993bd90cf84f87a99668c4425fb4dd6d6b5e"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201235","number":201235,"mergeCommit":{"message":"[SecuritySolution] Entity Engine status tab (#201235)\n\n## Summary\r\n\r\n* Add two tabs to the Entity Store page\r\n * The import entities tab has all the bulk upload content\r\n * The status tab has the new content created on this PR\r\n* Move the \"clear entity store data\" button to the header according to\r\ndesign mockups.\r\n* Delete unused stats route\r\n* Rename `enablement` API docs to `enable`\r\n* Add a new parameter to the status API (`withComponents`)\r\n * Should I make it snake cased?\r\n\r\n### import entities tab\r\n\r\n\r\n\r\n### status tab\r\n\r\n\r\n\r\n## How to test it\r\n- Open security solution app with data\r\n- Go to entity store page\r\n- You shouldn't see the new tab because the engine is disabled\r\n- Enable the engine and wait\r\n- Click on the new tab that showed up\r\n- It should list user and host engine components, and everything should\r\nbe installed\r\n- Delete or misconfigure some of the resources, the new status should be\r\nreflected on the tab.\r\n\r\n\r\n## TODO:\r\n- [x] Rebase main after #199762 is\r\nmerged\r\n - [x] Remove temporary status hook\r\n- [x] Fix the\"clear entity data\" button. It should re-fetch the status\r\nAPI.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n### Checklist\r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"06b7993bd90cf84f87a99668c4425fb4dd6d6b5e"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
## Summary This PR reworks the client side enablement flow for the Entity Store. It's the final piece for the work tracked in elastic/security-team#10846, elastic/security-team#10847 and elastic/security-team#10947 https://github.com/user-attachments/assets/bb919c3c-b8dc-4e6b-a14b-4d413f8da13f ## How to test Optionally On a fresh kibana and es cluster instance: 1. Load up some entity analytics data via the https://github.com/elastic/security-documents-generator * Running `yarn start entity-resolution-demo --mini` is enough 1. Navigate to `Security > Dashboards > Entity Analytics` 3. Click the `Enable` entity store button 4. Both Risk Score and Entity Store toggles should be checked. * This state represents the engines we will install, _NOT_ the current state 5. Click `Enable` 6. The modal should close and Risk Scoring should initialize first 7. As soon as risk score initialization finished, the entity store initialization should start * Risk score related panels should show up while the store is initializing 8. Finally, the Entities List panel should appear ## - [x] added cypress tests to verify the correct enablement flow
## Summary * Add two tabs to the Entity Store page * The import entities tab has all the bulk upload content * The status tab has the new content created on this PR * Move the "clear entity store data" button to the header according to design mockups. * Delete unused stats route * Rename `enablement` API docs to `enable` * Add a new parameter to the status API (`withComponents`) * Should I make it snake cased? ### import entities tab  ### status tab  ## How to test it - Open security solution app with data - Go to entity store page - You shouldn't see the new tab because the engine is disabled - Enable the engine and wait - Click on the new tab that showed up - It should list user and host engine components, and everything should be installed - Delete or misconfigure some of the resources, the new status should be reflected on the tab. ## TODO: - [x] Rebase main after elastic#199762 is merged - [x] Remove temporary status hook - [x] Fix the"clear entity data" button. It should re-fetch the status API. ### Checklist Reviewers should verify this PR satisfies this list as well. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [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 - [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 PR reworks the client side enablement flow for the Entity Store. It's the final piece for the work tracked in https://github.com/elastic/security-team/issues/10846, https://github.com/elastic/security-team/issues/10847 and https://github.com/elastic/security-team/issues/10947
enablement.mov
How to test
Optionally
On a fresh kibana and es cluster instance:
yarn start entity-resolution-demo --miniis enoughSecurity > Dashboards > Entity AnalyticsEnableentity store buttonEnable