Skip to content

Commit a12b776

Browse files
authored
Merge pull request #279430 from batamig/soc-opt-api
SOC opt API
2 parents c898d7a + 9144ebc commit a12b776

File tree

5 files changed

+97
-16
lines changed

5 files changed

+97
-16
lines changed

articles/sentinel/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,8 @@
11471147
href: soc-optimization/soc-optimization-access.md
11481148
- name: SOC optimization reference
11491149
href: soc-optimization/soc-optimization-reference.md
1150+
- name: Use SOC optimizations programmatically
1151+
href: soc-optimization/soc-optimization-api.md
11501152
- name: Manage Microsoft Sentinel
11511153
items:
11521154
- name: Manage costs and billing
102 KB
Loading

articles/sentinel/soc-optimization/soc-optimization-access.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
---
22
title: Optimize security operations
3-
description: Use SOC optimization recommendations to optimize your security operations center (SOC) team activities.
4-
ms.service: defender-xdr
5-
ms.pagetype: security
3+
description: Use Microsoft Sentinel SOC optimization recommendations to optimize your security operations center (SOC) team activities.
64
ms.author: bagol
75
author: batamig
86
manager: raynew
97
ms.collection:
10-
- m365-security
11-
- tier1
128
- usx-security
139
ms.topic: how-to
1410
ms.date: 06/09/2024
@@ -149,12 +145,6 @@ From here, either select the options menu or select **View full details** to tak
149145

150146
- **Provide further feedback** to the Microsoft team. When sharing your feedback, be careful not to share any confidential data. For more information, see [Microsoft Privacy Statement](https://privacy.microsoft.com/privacystatement).
151147

152-
## Use optimizations via API
153-
154-
The `Recommendations` operation group provides access to SOC optimizations via the Azure REST API. For example, use the API to get details about a specific recommendation, or all current recommendations across your workspaces, or to reevaluate a recommendation if you've made changes.
155-
156-
SOC optimization API documentation is available only in the Swagger specification and not in the REST API reference. For more information, see [API versions of Microsoft Sentinel REST APIs](/rest/api/securityinsights/api-versions).
157-
158148
## SOC optimization usage flow
159149

160150
This section provides a sample flow for using SOC optimizations, from either the Defender or Azure portal:
@@ -187,3 +177,5 @@ This section provides a sample flow for using SOC optimizations, from either the
187177
## Related content
188178

189179
- [SOC optimization reference of recommendations](soc-optimization-reference.md)
180+
- [Use SOC optimizations programmatically](soc-optimization-api.md)
181+
- [Blog: SOC optimization: unlock the power of precision-driven security management](https://aka.ms/SOC_Optimization)
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
title: Use SOC optimizations programmatically
3+
description: Learn how to use Microsoft Sentinel SOC optimization recommendations programmatically.
4+
ms.pagetype: security
5+
ms.author: bagol
6+
author: batamig
7+
manager: raynew
8+
ms.collection:
9+
- usx-security
10+
ms.topic: concept-article
11+
ms.date: 06/09/2024
12+
appliesto:
13+
- Microsoft Sentinel in the Microsoft Defender portal
14+
- Microsoft Sentinel in the Azure portal
15+
#customerIntent: As a SOC engineer, I want to learn about about how to interact with SOC optimziation recommendations programmatically via API.
16+
---
17+
18+
# Using SOC optimizations programmatically (Preview)
19+
20+
Use the Microsoft Sentinel `recommendations` API to programmatically interact with SOC optimization recommendations, helping you to close coverage gaps against specific threats and tighten ingestion rates. You can get details about all current recommendations across your workspaces or a specific SOC optimization recommendation, or you can reevaluate a recommendation if you've made changes in your environment.
21+
22+
For example, use the `recommendations` API to:
23+
24+
- Build custom reports and dashboards. For example, see [Visualize custom SOC optimization data](#visualize-custom-soc-optimization-data).
25+
- Integrate with third-party tools, such as for SOAR and ITSM services
26+
- Get automated, real-time access to SOC optimization data, triggering evaluations and responding promptly to the suggestions
27+
28+
For customers or MSSPs managing multiple environments, the `recommendations` API provides a scalable way to handle recommendations across multiple workspaces. You can also export data from the API and store it externally for audit, archiving, or tracking trends.
29+
30+
> [!IMPORTANT]
31+
> [!INCLUDE [unified-soc-preview-without-alert](../includes/unified-soc-preview-without-alert.md)]
32+
>
33+
> The `recommendations` API is in **PREVIEW**. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for additional legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
34+
35+
## Get, update, or reevaluate recommendations
36+
37+
Use the following examples of the `recommendations` API to interact with SOC optimization recommendations programmatically:
38+
39+
- **Get a list of all current SOC optimization recommendations in your workspace**:
40+
41+
```rest
42+
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/recommendations
43+
```
44+
45+
- **Get a specific recommendation by recommendation ID**:
46+
47+
```rest
48+
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/recommendations/{recommendationId}
49+
```
50+
51+
Find a recommendation's ID value by first getting a list of all recommendations in your workspace.
52+
53+
- **Update a recommendation's status to *Active*, *In Progress*, *Completed*, *Dismissed*, or *Reactivate***:
54+
55+
```rest
56+
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/recommendations/{recommendationId}
57+
```
58+
59+
- **Manually trigger an evaluation for a specific recommendation**:
60+
61+
```rest
62+
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/recommendations/{recommendationId} /triggerEvaluation
63+
```
64+
65+
## Visualize custom SOC optimization data
66+
67+
The **Microsoft Sentinel Optimization Workbook** uses the `recommendations` API to visualize SOC optimization data. Install and customize the workbook in your workspace to create your own custom SOC optimization dashboard.
68+
69+
In the **Microsoft Sentinel Optimization Workbooks**, select the **SOC Optimization** tab and expand the items under **Details** to drill down into to view SOC optimization data. Edit the workbook to modify the data shown as needed for your organization.
70+
71+
For example:
72+
73+
:::image type="content" source="media/soc-optimization-api/soc-optimization-workbook.png" alt-text="Screenshot of the Microsoft Sentinel Optimization Workbook." lightbox="media/soc-optimization-api/soc-optimization-workbook.png":::
74+
75+
For more information, see:
76+
77+
- [Discover and manage Microsoft Sentinel out-of-the-box content](../sentinel-solutions-deploy.md)
78+
- [Visualize and monitor your data by using workbooks in Microsoft Sentinel](../monitor-your-data.md).
79+
80+
## Related content
81+
82+
For more information, see:
83+
84+
- [Optimize your security operations](soc-optimization-access.md)
85+
- [SOC optimization reference of recommendations](soc-optimization-reference.md)
86+
- Blogs: [Introducing the SOC Optimization API](https://aka.ms/SocOptimizationAPI) | [Unlock the power of precision-driven security management](https://aka.ms/SOC_Optimization)

articles/sentinel/soc-optimization/soc-optimization-reference.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
---
22
title: SOC optimization reference
3-
description: Learn about the SOC optimization recommendations available to help you optimize your security operations.
4-
ms.service: defender-xdr
5-
ms.pagetype: security
3+
description: Learn about the Microsoft Sentinel SOC optimization recommendations available to help you optimize your security operations.
64
ms.author: bagol
75
author: batamig
86
manager: raynew
97
ms.collection:
10-
- m365-security
11-
- tier1
128
- usx-security
139
ms.topic: reference
1410
ms.date: 06/09/2024
@@ -66,6 +62,11 @@ The following table lists the available threat-based SOC optimization recommenda
6662
|There are no existing detections or data sources. | Connect detections and data sources or install a solution. |
6763

6864

65+
## Related content
66+
67+
- [Using SOC optimizations programmatically (Preview)](soc-optimization-api.md)
68+
- [Blog: SOC optimization: unlock the power of precision-driven security management](https://aka.ms/SOC_Optimization)
69+
6970
## Next step
7071

7172
- [Access SOC optimization](soc-optimization-access.md)

0 commit comments

Comments
 (0)