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: ![anonymization_defaults_before](https://github.com/elastic/kibana/assets/4459398/27ab13d4-5ad7-435c-8c92-51f9a93f04f4) 3) Filter the fields by `_id` **Expected result** - The (before) configuration of the `_id` field looks like the screenshot below: ![_id_field_before](https://github.com/elastic/kibana/assets/4459398/e10a29b2-c681-45f6-87ea-cdc3f6b6468f) - 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: ![anonymization_defaults_after](https://github.com/elastic/kibana/assets/4459398/589d0aa8-7077-4dfc-89de-df0ffa85ac6c) 9) Once again, filter the fields by `_id` **Expected results** - The (after) configuration of the `_id` field looks like the screenshot below: ![_id_field_after](https://github.com/elastic/kibana/assets/4459398/b5ed2901-99f4-4981-97c8-10012d33930c) - 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