Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] [Attack discovery] [Security AI Assistant] Update…
… default Anonymization settings (elastic#182531) ## [Security Solution] [Attack discovery] [Security AI Assistant] Update default Anonymization settings ### Summary This PR updates the default Anonymization settings used by Attack discovery and the Security AI Assistant. ### Desk testing Note: If you have an existing `8.14 BC` / `main` deployment, the following steps are required to desk test the fix: 1) In the existing deployment, navigate to Stack Management > AI Assistant > Elastic AI Assistant for Security 2) Click the Anonymization tab, and take a screenshot of the `Allowed` and `Anonymized` counts. It may look something like the following example:  3) Filter the fields by `_id` **Expected result** - The (before) configuration of the `_id` field looks like the screenshot below:  - The `_id` field is Allowed: `[x] Allowed` - The `_id` field is Anonymized: `Anonymized: Yes` (The above are the old defaults for the `_id` field.) 4) In Dev Tools, delete the existing anonymization defaults, and associated index template: ``` DELETE /_data_stream/.kibana-elastic-ai-assistant-anonymization-fields-default DELETE /_index_template/.kibana-elastic-ai-assistant-index-template-anonymization-fields ``` 5) Stop Kibana 6) Start Kibana running the PR branch (with the new defaults) **Expected result** The new `.kibana-elastic-ai-assistant-anonymization-fields-default` data stream is created at startup 7) Once again, navigate to Stack Management > AI Assistant > Elastic AI Assistant for Security 8) Once again, click the Anonymization tab, compare the screenshot of the `Allowed` and `Anonymized` counts with the previous screenshot **Expected result** - The counts have been updated, per the example screenshot below:  9) Once again, filter the fields by `_id` **Expected results** - The (after) configuration of the `_id` field looks like the screenshot below:  - The `_id` field is Allowed: `[x] Allowed` - The `_id` field is NOT Anonymized: `Anonymized: No` (The above are the new defaults for the `_id` field.)
- Loading branch information