Skip to content

Commit 1f74b50

Browse files
[ON week] AI-feedback updates to Security AI docs (#3935)
Fixes #3933. This PR is based on Nastasha's and my on week project. We've been using LLMs to conduct user research on our docs. After iterating on our prompt and trying it with severlal LLMs, I opened this PR because I wanted to make some initial updates to the docs in the section I've been focusing on for user research: Security AI docs. This PR contains a variety of edits intended to fix minor mistakes (redundancy, imprecise language, and unanswered questions. This PR was created using AI, mostly GPT5 and Claude sonnet 4.5. Some of the text was drafted by AI. All of it was edited by me. --------- Co-authored-by: Nastasha Solomon <[email protected]>
1 parent adc7ba8 commit 1f74b50

File tree

4 files changed

+61
-14
lines changed

4 files changed

+61
-14
lines changed

solutions/security/ai/ai-assistant.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,14 @@ To modify Anonymization settings, you need the **Elastic AI Assistant: All** pri
395395

396396
::::
397397

398-
The **Anonymization** tab of the Security AI settings menu allows you to define default data anonymization behavior for events you send to AI Assistant. Fields with **Allowed** toggled on are included in events provided to AI Assistant. **Allowed** fields with **Anonymized** set to **Yes** are included, but with their values obfuscated.
398+
When you send alert data to AI Assistant, you may want to obfuscate sensitive information before it reaches the LLM provider.
399+
400+
The **Anonymization** tab of the Security AI settings menu allows you to define default data anonymization behavior for events you send to AI Assistant. Fields with **Allowed** toggled on are included in events provided to AI Assistant. **Allowed** fields with **Anonymized** set to **Yes** are included, but with their values obfuscated (replaced by placeholders), so AI Assistant won't have access to their actual values.
401+
402+
This can help with:
403+
- **Compliance**: Avoid sending PII or sensitive data to third-party LLM providers.
404+
- **Privacy**: Protect internal data while still enabling AI analysis.
405+
- **Policy**: Meet your organization's data handling requirements.
399406

400407
::::{note}
401408
You can access anonymization settings directly from the **Attack Discovery** page by clicking the settings (![Settings icon](/solutions/images/security-icon-settings.png "title =20x20")) button next to the model selection dropdown menu.
@@ -406,9 +413,9 @@ You can access anonymization settings directly from the **Attack Discovery** pag
406413
:screenshot:
407414
:::
408415

409-
The fields on this list are among those most likely to provide relevant context to AI Assistant. Fields with **Allowed** toggled on are included. **Allowed** fields with **Anonymized** set to **Yes** are included, but with their values obfuscated.
416+
These fields are among those most likely to provide relevant context to AI Assistant, and are included by default.
410417

411-
The **Show anonymized** toggle controls whether you see the obfuscated or plaintext versions of the fields you sent to AI Assistant. It doesn’t control what gets obfuscated — that’s determined by the anonymization settings. It also doesn’t affect how event fields appear *before* being sent to AI Assistant. Instead, it controls how fields that were already sent and obfuscated appear to you.
418+
The **Show anonymized** toggle controls whether you see the obfuscated or plaintext versions of the fields you sent to AI Assistant. In other words, it controls how fields that were already sent and obfuscated appear to you. It doesn’t control what gets obfuscated — that’s determined by the anonymization settings.
412419

413420
When you include a particular event as context, such as an alert from the Alerts page, you can adjust anonymization behavior for the specific event. Be sure the anonymization behavior meets your specifications before sending a message with the event attached.
414421

@@ -434,6 +441,4 @@ In addition to practical advice, AI Assistant can offer conceptual advice, tips,
434441

435442
## Learn more
436443

437-
- For more information about how AI Assistant works in Observability and Search, refer to [{{obs-ai-assistant}}](/solutions/observability/observability-ai-assistant.md).
438-
439444
The capabilities and ways to interact with AI Assistant can differ for each solution. For more information about how AI Assistant works in Observability and Search, refer to [{{obs-ai-assistant}}](/solutions/observability/observability-ai-assistant.md).

solutions/security/ai/connect-to-amazon-bedrock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Finally, configure the connector in {{kib}}:
102102
2. Find the **Connectors** page in the navigation menu or use the [global search field](/explore-analyze/find-and-organize/find-apps-and-objects.md). Then click **Create Connector**, and select **Amazon Bedrock**.
103103
3. Name your connector.
104104
4. (Optional) Configure the Amazon Bedrock connector to use a different AWS region where Anthropic models are supported by editing the **URL** field, for example by changing `us-east-1` to `eu-central-1`.
105-
5. (Optional) Add one of the following strings if you want to use a model other than the default. Note that these URLs should have a prefix of `us.` or `eu.`, depending on your region, for example `us.anthropic.claude-3-5-sonnet-20240620-v1:0` or `eu.anthropic.claude-3-5-sonnet-20240620-v1:0`.
105+
5. (Optional) Add one of the following strings if you want to use a model other than the default. Note that these model IDs should have a prefix of `us.` or `eu.`, depending on your region, for example `us.anthropic.claude-3-5-sonnet-20240620-v1:0` or `eu.anthropic.claude-3-5-sonnet-20240620-v1:0`.
106106

107107
* Sonnet 3.5: `us.anthropic.claude-3-5-sonnet-20240620-v1:0` or `eu.anthropic.claude-3-5-sonnet-20240620-v1:0`
108108
* Sonnet 3.5 v2: `us.anthropic.claude-3-5-sonnet-20241022-v2:0` or `eu.anthropic.claude-3-5-sonnet-20241022-v2:0`

solutions/security/ai/connect-to-google-vertex.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@ products:
1313

1414
# Connect to Google Vertex
1515

16-
% What needs to be done: Lift-and-shift
17-
18-
% Use migrated content from existing pages that map to this page:
19-
20-
% - [x] ./raw-migrated-files/security-docs/security/connect-to-vertex.md
21-
% - [ ] ./raw-migrated-files/docs-content/serverless/security-connect-to-google-vertex.md
22-
2316
This page provides step-by-step instructions for setting up a Google Vertex AI connector for the first time. This connector type enables you to leverage Vertex AI’s large language models (LLMs) within {{elastic-sec}}. You’ll first need to enable Vertex AI, then generate a key, and finally configure the connector in your {{elastic-sec}} project.
2417

2518
::::{important}

solutions/security/ai/triage-alerts.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ Once you have chosen an alert to investigate:
4545

4646
5. (Optional) Ask AI Assistant follow-up questions, provide additional information for further analysis, and request clarification. The response is not a static report.
4747

48-
4948
## Generate triage reports [ai-triage-reportgen]
5049

5150
Elastic AI Assistant can streamline the documentation and report generation process by providing clear records of security incidents, their scope and impact, and your remediation efforts. You can use AI Assistant to create summaries or reports for stakeholders that include key event details, findings, and diagrams. Once AI Assistant has finished analyzing one or more alerts, you can generate reports by using prompts such as:
@@ -60,3 +59,53 @@ After you review the report, click **Add to existing case** at the top of AI Ass
6059
:alt: An AI Assistant dialogue with the add to existing case button highlighted
6160
:screenshot:
6261
:::
62+
63+
64+
## Example alert triage workflow
65+
66+
This section shows an example workflow for triaging a specific alert.
67+
68+
**Scenario:** You are investigating an alert: "Multiple Failed Logins Followed by Success - user: jsmith"
69+
70+
:::::{stepper}
71+
72+
::::{step} Open Alert and Generate Initial Analysis
73+
1. From the **Alerts** table, click **View details**.
74+
2. Click **Chat** to open AI Assistant. The alert information is automatically attached.
75+
3. Click the **Alert summarization** quick prompt. AI Assistant shared an initial alert assessment.
76+
::::
77+
78+
::::{step} Assess Criticality and Context
79+
Ask AI Assistant:
80+
81+
- "Is user jsmith typically logging in from [this IP/location]?"
82+
- "Are there other suspicious activities from this user in the last 24 hours?"
83+
- "What's the risk score for the source IP?"
84+
::::
85+
86+
::::{step} Investigate Related Activity
87+
If AI Assistant flags concerns, investigate further. Ask AI Assistant to:
88+
89+
- "Generate an {{esql}} query to find all recent activity from user jsmith".
90+
- "Generate an {{esql}} query to find other users logging in from this IP".
91+
::::
92+
93+
::::{step} Make a Determination
94+
Based on your initial AI-assisted analysis, determine whether you're dealing with a potential threat:
95+
96+
- **False Positive**: User was traveling, this is expected behavior.
97+
- Immediate action: Add note to alert, close as false positive.
98+
- Future action: Add a rule exception to prevent similar alerts.
99+
100+
- **True Positive**: Behavior indicates a potential attack. In response:
101+
- Escalate according to your organization's incident response plan.
102+
- Create a case to track the investigation.
103+
::::
104+
105+
::::{step} Document Your Findings
106+
1. From AI Assistant, click **Add to case** on key messages.
107+
2. Go to **Cases**, add your case notes.
108+
3. Go back to the alert and change its status to `Acknowledged`.
109+
::::
110+
111+
:::::

0 commit comments

Comments
 (0)