You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/AI-for-security/ai-security-assistant.asciidoc
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
:frontmatter-tags-content-type: [overview]
7
7
:frontmatter-tags-user-goals: [get-started]
8
8
9
-
The Elastic AI Assistant utilizes generative AI to bolster your cybersecurity operations team. It allows users to interact with {elastic-sec} for tasks such as alert investigation, incident response, and query generation or conversion using natural language and much more.
9
+
The Elastic AI Assistant utilizes generative AI to bolster your cybersecurity operations team. It allows users to interact with {elastic-sec} for tasks such as alert investigation, incident response, and query generation or conversation using natural language and much more.
10
10
11
11
[role="screenshot"]
12
12
image::images/assistant-basic-view.png[Image of AI Assistant chat window,90%]
@@ -101,9 +101,13 @@ TIP: AI Assistant can remember particular information you tell it to remember. F
101
101
[discrete]
102
102
[[configure-ai-assistant]]
103
103
== Configure AI Assistant
104
-
The *Security AI settings* page allows you to configure AI Assistant. To access it, use the global search field to search for "AI Assistant for Security".
104
+
To adjust AI Assistant's settings from the chat window, click the **More** (three dots) button in the upper-right.
105
105
106
-
It has the following tabs:
106
+
image::images/security-attack-discovery-more-popover.png[The Security AI settings popover,90%]
107
+
108
+
The first three options (**AI Assistant settings**, **Knowledge Base**, and **Anonymization**) open the corresponding tabs of the **Security AI settings** page. The **Chat options** affect display-only user settings: whether to show or hide anonymized values, and whether to include citations. When citations are enabled, AI Assistant will refer you to information sources including data you've shared with it, information you've added to the knowledge base, and content from Elastic's Security Labs and product documentation.
109
+
110
+
The **Security AI settings** page provides a range of configuration options for AI Assistant. To access it directly, use the global search field to search for "AI Assistant for Security". It has the following tabs:
107
111
108
112
* **Conversations:** When you open AI Assistant from certain pages, such as **Alerts**, it defaults to the relevant conversation type. For each conversation type, choose the default System Prompt, the default connector, and the default model (if applicable). The **Streaming** setting controls whether AI Assistant's responses appear word-by-word (streamed), or as a complete block of text. Streaming is currently only available for OpenAI models.
109
113
* **Connectors:** Manage all LLM connectors.
@@ -144,7 +148,7 @@ The **Knowledge base** tab of the **Security AI settings** page allows you to en
144
148
[discrete]
145
149
[[ai-assistant-queries]]
146
150
[[rag-for-esql]]
147
-
### Get the most from your queries
151
+
=== Get the most from your queries
148
152
149
153
Elastic AI Assistant allows you to take full advantage of the {elastic-sec} platform to improve your security operations. It can help you write an {esql} query for a particular use case, or answer general questions about how to use the platform. Its ability to assist you depends on the specificity and detail of your questions. The more context and detail you provide, the more tailored and useful its responses will be.
By default, Attack Discovery analyzes up to 100 alerts from the last 24 hours, but you can customize how many and which alerts it analyzes using the settings menu. To open it, click the gear icon next to the **Generate** button.
You can select which alerts Attack Discovery will process by filtering based on a KQL query, the time and date selector, and the **Number of alerts** slider. Note that sending more alerts than your chosen LLM can handle may result in an error. Under **Alert summary** you can view a summary of the selected alerts grouped by various fields, and under **Alerts preview** you can see more details about the selected alerts.
52
+
53
+
[NOTE]
54
+
====
55
+
*How to add non-ECS fields to Attack Discovery*
56
+
57
+
Attack Discovery is designed for use with alerts based on data that complies with ECS, and by default only analyses ECS-compliant fields. However, you can enable Attack Discovery to review additional fields by following these steps:
58
+
59
+
1. Select an alert with some of the non-ECS fields you want to analyze, and go to its details flyout. From here, use the **Chat** button to open AI Assistant.
60
+
2. At the bottom of the chat window, the alert's information appears. Click **Edit** to open the anonymization window to this alert's fields.
61
+
3. Search for and select the non-ECS fields you want Attack Discovery to analyze. Set them to **Allowed**.
62
+
63
+
The selected fields can now be analyzed the next time you run Attack Discovery.
64
+
====
65
+
44
66
[[attack-discovery-generate-discoveries]]
45
67
[discrete]
46
68
== Generate discoveries
47
69
48
-
When you access Attack Discovery for the first time, you'll need to select an LLM connector before you can analyze alerts. Attack Discovery uses the same LLM connectors as <<security-assistant>>. To get started:
70
+
You'll need to select an LLM connector before you can analyze alerts. Attack Discovery uses the same LLM connectors as <<security-assistant>>. To get started:
49
71
50
72
. Click the **Attack Discovery** page from {elastic-sec}'s navigation menu.
51
73
. Select an existing connector from the dropdown menu, or add a new one.
. Once you've selected a connector, click **Generate** to start the analysis.
62
84
63
-
It may take from a few seconds up to several minutes to generate discoveries, depending on the number of alerts and the model you selected.
64
-
65
-
IMPORTANT: By default, Attack Discovery analyzes up to 100 alerts within this timeframe, but you can expand this up to 500 by clicking the settings icon (image:images/icon-settings.png[Settings icon,17,17]) next to the model selection menu and adjusting the **Alerts** slider. Note that sending more alerts than your chosen LLM can handle may result in an error.
It may take from a few seconds up to several minutes to generate discoveries, depending on the number of alerts and the model you selected. Once the analysis is complete, any threats it identifies will appear as discoveries. Click each one’s title to expand or collapse it. Click **Generate** at any time to start the Attack Discovery process again with the selected alerts.
68
86
69
87
IMPORTANT: Attack Discovery uses the same data anonymization settings as <<security-assistant, Elastic AI Assistant>>. To configure which alert fields are sent to the LLM and which of those fields are obfuscated, use the Elastic AI Assistant settings. Consider the privacy policies of third-party LLMs before sending them sensitive data.
70
88
71
-
Once the analysis is complete, any threats it identifies will appear as discoveries. Click each one's title to expand or collapse it. Click **Generate** at any time to start the Attack Discovery process again with the most current alerts.
= Set up connectors for large language models (LLM)
2
+
= Enable large language model (LLM) access
3
3
4
-
This section contains instructions for setting up connectors for LLMs so you can use <<security-assistant, Elastic AI Assistant>> and <<attack-discovery, Attack discovery>>.
4
+
{elastic-sec} uses large language models (LLMs) for some of its advanced analytics features. To enable these features, you can connect to Elastic LLM, a third-party LLM provider, or a custom local LLM.
5
5
6
-
Setup guides are available for the following LLM providers:
6
+
IMPORTANT: Different LLMs have varying performance when used to power different features and use-cases. For more information about how various models perform on different tasks in {elastic-sec}, refer to the <<llm-performance-matrix>>.
7
+
8
+
[discrete]
9
+
== Connect to Elastic LLM
10
+
11
+
Elastic LLM is enabled by default for any user with the necessary {stack} subscription. To use it:
12
+
13
+
1. Navigate to a feature that uses an LLM, such as AI Assistant.
14
+
2. Use the model selection menu to select the Elastic LLM*.
15
+
16
+
[discrete]
17
+
== Connect to a third-party LLM
18
+
19
+
Follow these guides to connect to one or more third-party LLM providers:
Attack discovery can detect a wide range of threats by finding relationships among alerts that may indicate a coordinated attack. This enables you to comprehend how threats move through and affect your systems. Attack discovery generates a detailed summary of each potential threat, which can serve as the basis for further analysis. Learn how to <<attack-discovery,get started with Attack discovery>>.
22
+
Attack discovery can detect a wide range of threats by finding relationships among alerts that may indicate a coordinated attack. This enables you to comprehend how threats move through and affect your systems. Attack discovery generates a detailed summary of each potential threat and can highlight avenues for further investigation. Learn how to <<attack-discovery,get started with Attack discovery>>.
23
+
24
+
IMPORTANT: To ensure that Attack Discovery analyzes related alerts together (and can therefore identify their connections), pay attention to the <<attack-discovery, Attack Discovery alert filtering>> settings. This allows you to target Attack Discovery at specific groups of alerts, such as those related to a particular host, user, date and time, incident, or customer.
23
25
24
26
image::images/attck-disc-11-alerts-disc.png[An Attack discovery card showing an attack with 11 related alerts,90%]
Copy file name to clipboardExpand all lines: docs/AI-for-security/usecase-landing-pg.asciidoc
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
[[assistant-use-cases]]
2
-
= Use cases
2
+
= Example AI workflows
3
3
4
-
The guides in this section describe use cases for AI Assistant and Attack discovery. Refer to them for examples of each tool's individual capabilities and of what they can do together.
4
+
The guides in this section describe example workflows for AI Assistant and Attack discovery. Refer to them for examples of each tool's individual capabilities and how they can work together.
0 commit comments