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: articles/defender-for-cloud/gain-end-user-context-ai.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ When AI threat protection is enabled you gain threat protection for AI workloads
14
14
15
15
:::image type="content" source="media/gain-end-user-context-ai/before-code.png" alt-text="Screenshot of the Defender XDR portal that shows the threat protection alerts provided." lightbox="media/gain-end-user-context-ai/before-code.png":::
16
16
17
-
By adding the code provided on this page, your AI models gain the ability to pass critical end-user context to Defender for Cloud's AI alerts. The addition of the end-user context allows the security alerts to contain more details and lead to more actionable alerts. For example, you can improve real-time threat detection and incident response.
17
+
By adding the code provided on this page, your generative AI applications gain the ability to pass critical end-user context to Defender for Cloud's AI alerts. The addition of the end-user context allows the security alerts to contain more details and leads to more actionable alerts so that you can improve real-time threat detection and incident response.
18
18
19
19
:::image type="content" source="media/gain-end-user-context-ai/after-code.png" alt-text="Screenshot of the Defender XDR portal that shows all of the additional benefits gained by adding the code." lightbox="media/gain-end-user-context-ai/after-code.png":::
20
20
@@ -30,7 +30,7 @@ By adding the code provided on this page, your AI models gain the ability to pas
30
30
31
31
## Add security parameters to your Azure OpenAI call
32
32
33
-
To receive AI security alerts with more context, you can add any or all of the following sample `SecurityContext` code to your [Azure OpenAI API](../ai-services/openai/reference.md) calls. Defender for Cloud uses the `SecurityContext` code to create security alerts that contain the user context, for example an incident that involves a malicious end-user.
33
+
To receive AI security alerts with more context, you can add any or all of the following sample `SecurityContext` code to your [Azure OpenAI API](../ai-services/openai/reference.md) calls. Defender for Cloud enhances AI security alerts by using the `SecurityContext` code to incorporate the user context, for example detailing incidents that involve a malicious end-user.
34
34
35
35
Application developers should ensure that a valid JSON is passed to the 'user' field in every request made by the application to Azure OpenAI.
36
36
@@ -60,7 +60,7 @@ The provided code consists of the `SecurityContext` field which contains several
60
60
61
61
## Add the SecurityContext code to your application
62
62
63
-
We recommend adding all of the code samples provided in this document to your generative AI application's code.
63
+
We recommend reviewing and referencing the code samples provided in this document to your generative AI application's code.
64
64
65
65
1. Select one of these examples:
66
66
@@ -72,7 +72,7 @@ We recommend adding all of the code samples provided in this document to your ge
72
72
73
73
:::image type="content" source="media/gain-end-user-context-ai/sample-code-security-context.png" alt-text="Screenshot of the sample code provided from GitHub." lightbox="media/gain-end-user-context-ai/sample-code-security-context.png":::
74
74
75
-
1.Add the code to your generative AI application's code.
75
+
Add the code in the relevant Azure OpenAI API call of your generative AI application's code.
76
76
77
77
1. Alter the code parameters to match your requirements.
0 commit comments