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/continuous-export.md
+26-33Lines changed: 26 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,23 @@
1
1
---
2
-
title: Continuous export can send Microsoft Defender for Cloud's alerts and recommendations to Log Analytics workspaces or Azure Event Hubs
3
-
description: Learn how to configure continuous export of security alerts and recommendations to Log Analytics workspaces or Azure Event Hubs
2
+
title: Continuous export can send Microsoft Defender for Cloud's alerts and recommendations to Log Analytics or Azure Event Hubs
3
+
description: Learn how to configure continuous export of security alerts and recommendations to Log Analytics or Azure Event Hubs
4
4
author: bmansheim
5
5
ms.author: benmansheim
6
6
ms.topic: how-to
7
7
ms.date: 07/31/2022
8
8
---
9
9
# Continuously export Microsoft Defender for Cloud data
10
10
11
-
Microsoft Defender for Cloud generates detailed security alerts and recommendations. You can view them in the portal or through programmatic tools. You might also need to export some or all of this information for tracking with other monitoring tools in your environment.
11
+
Microsoft Defender for Cloud generates detailed security alerts and recommendations. To analyze the information in these alerts and recommendations, you can export them to Azure Log Analytics, Event Hubs, or to another [SIEM, SOAR, or IT Service Management solution](export-to-siem.md). You can stream the alerts and recommendations as they're generated or define a schedule to send periodic snapshots of all of the new data.
12
12
13
-
You fully customize *what* will be exported, and *where* it will go with **continuous export**. For example, you can configure it so that:
13
+
With **continuous export**, you fully customize *what* will be exported and *where* it will go. For example, you can configure it so that:
14
14
15
-
- All high severity alerts are sent to an Azure Event Hub
15
+
- All high severity alerts are sent to an Azure event hub
16
16
- All medium or higher severity findings from vulnerability assessment scans of your SQL servers are sent to a specific Log Analytics workspace
17
-
- Specific recommendations are delivered to an Event Hub or Log Analytics workspace whenever they're generated
17
+
- Specific recommendations are delivered to an event hub or Log Analytics workspace whenever they're generated
18
18
- The secure score for a subscription is sent to a Log Analytics workspace whenever the score for a control changes by 0.01 or more
19
19
20
-
Even though the feature is called *continuous*, there's also an option to export weekly snapshots.
21
-
22
-
This article describes how to configure continuous export to Log Analytics workspaces or Azure Event Hubs.
23
-
24
-
> [!NOTE]
25
-
> If you need to integrate Defender for Cloud with a SIEM, see [Stream alerts to a SIEM, SOAR, or IT Service Management solution](export-to-siem.md).
20
+
This article describes how to configure continuous export to Log Analytics workspaces or Azure event hubs.
26
21
27
22
> [!TIP]
28
23
> Defender for Cloud also offers the option to perform a one-time, manual export to CSV. Learn more in [Manual one-time export of alerts and recommendations](#manual-one-time-export-of-alerts-and-recommendations).
@@ -33,7 +28,7 @@ This article describes how to configure continuous export to Log Analytics works
33
28
|----|:----|
34
29
|Release state:|General availability (GA)|
35
30
|Pricing:|Free|
36
-
|Required roles and permissions:|<ul><li>**Security admin** or **Owner** on the resource group</li><li>Write permissions for the target resource.</li><li>If you're using the Azure Policy 'DeployIfNotExist' policies described below you'll also need permissions for assigning policies</li><li>To export data to Event Hub, you'll need Write permission on the Event Hub Policy.</li><li>To export to a Log Analytics workspace:<ul><li>if it **has the SecurityCenterFree solution**, you'll need a minimum of read permissions for the workspace solution: `Microsoft.OperationsManagement/solutions/read`</li><li>if it **doesn't have the SecurityCenterFree solution**, you'll need write permissions for the workspace solution: `Microsoft.OperationsManagement/solutions/action`</li><li>Learn more about [Azure Monitor and Log Analytics workspace solutions](../azure-monitor/insights/solutions.md)</li></ul></li></ul>|
31
+
|Required roles and permissions:|<ul><li>**Security admin** or **Owner** on the resource group</li><li>Write permissions for the target resource.</li><li>, you'll also need permissions for assigning policies</li><li>To export data to Event Hubs, you'll need Write permission on the Event Hubs Policy.</li><li>To export to a Log Analytics workspace:<ul><li>if it **has the SecurityCenterFree solution**, you'll need a minimum of read permissions for the workspace solution: `Microsoft.OperationsManagement/solutions/read`</li><li>if it **doesn't have the SecurityCenterFree solution**, you'll need write permissions for the workspace solution: `Microsoft.OperationsManagement/solutions/action`</li><li>Learn more about [Azure Monitor and Log Analytics workspace solutions](../azure-monitor/insights/solutions.md)</li></ul></li></ul>|
37
32
|Clouds:|:::image type="icon" source="./media/icons/yes-icon.png"::: Commercial clouds<br>:::image type="icon" source="./media/icons/yes-icon.png"::: National (Azure Government, Azure China 21Vianet)|
38
33
39
34
## What data types can be exported?
@@ -42,7 +37,7 @@ Continuous export can export the following data types whenever they change:
42
37
43
38
- Security alerts.
44
39
- Security recommendations.
45
-
- Security findings. These can be thought of as 'sub' recommendations and belong to a 'parent' recommendation. For example:
40
+
- Security findings. Findings can be thought of as 'sub' recommendations and belong to a 'parent' recommendation. For example:
46
41
- The recommendations [System updates should be installed on your machines (powered by Update Center)](https://portal.azure.com/#blade/Microsoft_Azure_Security/RecommendationsBlade/assessmentKey/e1145ab1-eb4f-43d8-911b-36ddf771d13f) and [System updates should be installed on your machines](https://portal.azure.com/#blade/Microsoft_Azure_Security/RecommendationsBlade/assessmentKey/4ab6e3c5-74dd-8b35-9ab9-f61b30875b27) each has one 'sub' recommendation per outstanding system update.
47
42
- The recommendation [Machines should have vulnerability findings resolved](https://portal.azure.com/#blade/Microsoft_Azure_Security/RecommendationsBlade/assessmentKey/1195afff-c881-495e-9bc5-1486211ae03f) has a 'sub' recommendation for every vulnerability identified by the vulnerability scanner.
48
43
> [!NOTE]
@@ -87,7 +82,7 @@ The steps below are necessary whether you're setting up a continuous export to L
1. From the "Export target" area, choose where you'd like the data saved. Data can be saved in a target on a different subscription (for example on a Central Event Hub instance or a central Log Analytics workspace).
85
+
1. From the "Export target" area, choose where you'd like the data saved. Data can be saved in a target on a different subscription (for example on a Central Event Hubs instance or a central Log Analytics workspace).
91
86
1. Select **Save**.
92
87
93
88
> [!NOTE]
@@ -99,20 +94,20 @@ The steps below are necessary whether you're setting up a continuous export to L
99
94
100
95
Continuous export can be configured and managed via the Microsoft Defender for Cloud [automations API](/rest/api/securitycenter/automations). Use this API to create or update rules for exporting to any of the following possible destinations:
101
96
102
-
- Azure Event Hub
103
-
- Log Analytics workspace
97
+
- Azure Event Hubs
98
+
- Log Analytics
104
99
- Azure Logic Apps
105
100
106
-
The API provides additional functionality not available from the Azure portal, for example:
101
+
Here are some examples of options that you can only use in the the API:
107
102
108
-
***Greater volume** - You can create multiple export configurations on a single subscription with the API. The **Continuous Export** page in Defender for Cloud's portal UI supports only one export configuration per subscription.
103
+
***Greater volume** - You can create multiple export configurations on a single subscription with the API. The **Continuous Export** page in the Azure portal supports only one export configuration per subscription.
109
104
110
-
***Additional features** - The API offers additional parameters that aren't shown in the UI. For example, you can add tags to your automation resource as well as define your export based on a wider set of alert and recommendation properties than those offered in the **Continuous Export** page in Defender for Cloud's portal UI.
105
+
***Additional features** - The API offers parameters that aren't shown in the Azure portal. For example, you can add tags to your automation resource and define your export based on a wider set of alert and recommendation properties than the ones offered in the **Continuous Export** page in the Azure portal.
111
106
112
-
***More focused scope** - The API provides a more granular level for the scope of your export configurations. When defining an export with the API, you can do so at the resource group level. If you're using the **Continuous Export** page in Defender for Cloud's portal UI, you have to define it at the subscription level.
107
+
***More focused scope** - The API provides a more granular level for the scope of your export configurations. When defining an export with the API, you can do so at the resource group level. If you're using the **Continuous Export** page in the Azure portal, you have to define it at the subscription level.
113
108
114
109
> [!TIP]
115
-
> If you've set up multiple export configurations using the API, or if you've used API-only parameters, those extra features will not be displayed in the Defender for Cloud UI. Instead, there'll be a banner informing you that other configurations exist.
110
+
> These API-only options are not shown in the Azure portal. If you use them, there'll be a banner informing you that other configurations exist.
116
111
117
112
Learn more about the automations API in the [REST API documentation](/rest/api/securitycenter/automations).
118
113
@@ -130,7 +125,7 @@ To deploy your continuous export configurations across your organization, use th
130
125
131
126
|Goal |Policy |Policy ID |
132
127
|---------|---------|---------|
133
-
|Continuous export to Event Hub|[Deploy export to Event Hub for Microsoft Defender for Cloud alerts and recommendations](https://portal.azure.com/#blade/Microsoft_Azure_Policy/PolicyDetailBlade/definitionId/%2fproviders%2fMicrosoft.Authorization%2fpolicyDefinitions%2fcdfcce10-4578-4ecd-9703-530938e4abcb)|cdfcce10-4578-4ecd-9703-530938e4abcb|
128
+
|Continuous export to Event Hubs|[Deploy export to Event Hubs for Microsoft Defender for Cloud alerts and recommendations](https://portal.azure.com/#blade/Microsoft_Azure_Policy/PolicyDetailBlade/definitionId/%2fproviders%2fMicrosoft.Authorization%2fpolicyDefinitions%2fcdfcce10-4578-4ecd-9703-530938e4abcb)|cdfcce10-4578-4ecd-9703-530938e4abcb|
134
129
|Continuous export to Log Analytics workspace|[Deploy export to Log Analytics workspace for Microsoft Defender for Cloud alerts and recommendations](https://portal.azure.com/#blade/Microsoft_Azure_Policy/PolicyDetailBlade/definitionId/%2fproviders%2fMicrosoft.Authorization%2fpolicyDefinitions%2fffb6f416-7bd2-4488-8828-56585fef2be9)|ffb6f416-7bd2-4488-8828-56585fef2be9|
135
130
136
131
> [!TIP]
@@ -163,7 +158,7 @@ If you want to analyze Microsoft Defender for Cloud data inside a Log Analytics
163
158
164
159
Security alerts and recommendations are stored in the *SecurityAlert* and *SecurityRecommendation* tables respectively.
165
160
166
-
The name of the Log Analytics solution containing these tables depends on whether you have enabled the enhanced security features: Security ('Security and Audit') or SecurityCenterFree.
161
+
The name of the Log Analytics solution containing these tables depends on whether you've enabled the enhanced security features: Security ('Security and Audit') or SecurityCenterFree.
167
162
168
163
> [!TIP]
169
164
> To see the data on the destination workspace, you must enable one of these solutions **Security and Audit** or **SecurityCenterFree**.
@@ -176,7 +171,7 @@ To view the event schemas of the exported data types, visit the [Log Analytics t
176
171
177
172
You might also choose to view exported Security Alerts and/or recommendations in [Azure Monitor](../azure-monitor/alerts/alerts-overview.md).
178
173
179
-
Azure Monitor provides a unified alerting experience for a variety of Azure alerts including Diagnostic Log, Metric alerts, and custom alerts based on Log Analytics workspace queries.
174
+
Azure Monitor provides a unified alerting experience for various Azure alerts including Diagnostic Log, Metric alerts, and custom alerts based on Log Analytics workspace queries.
180
175
181
176
To view alerts and recommendations from Defender for Cloud in Azure Monitor, configure an Alert rule based on Log Analytics queries (Log Alert):
182
177
@@ -211,11 +206,13 @@ To download a CSV report for alerts or recommendations, open the **Security aler
211
206
212
207
### What are the costs involved in exporting data?
213
208
214
-
There is no cost for enabling a continuous export. Costs might be incurred for ingestion and retention of data in your Log Analytics workspace, depending on your configuration there.
209
+
There's no cost for enabling a continuous export. Costs might be incurred for ingestion and retention of data in your Log Analytics workspace, depending on your configuration there.
210
+
211
+
Many alerts are only provided when you've enabled Defender plans for your resources. A good way to preview the alerts you'll get in your exported data is to see the alerts shown in Defender for Cloud's pages in the Azure portal.
215
212
216
213
Learn more about [Log Analytics workspace pricing](https://azure.microsoft.com/pricing/details/monitor/).
217
214
218
-
Learn more about [Azure Event Hub pricing](https://azure.microsoft.com/pricing/details/event-hubs/).
215
+
Learn more about [Azure Event Hubs pricing](https://azure.microsoft.com/pricing/details/event-hubs/).
219
216
220
217
### Does the export include data about the current state of all resources?
221
218
@@ -228,18 +225,14 @@ No. Continuous export is built for streaming of **events**:
228
225
229
226
### Why are recommendations sent at different intervals?
230
227
231
-
Different recommendations have different compliance evaluation intervals, which can vary from a few minutes to every few days. Consequently, recommendations will differ in the amount of time it takes for them to appear in your exports.
228
+
Different recommendations have different compliance evaluation intervals, which can range from every few minutes to every few days. So, the amount of time that it takes for recommendations to appear in your exports varies.
232
229
233
230
### Does continuous export support any business continuity or disaster recovery (BCDR) scenarios?
234
231
235
-
When preparing your environment for BCDR scenarios, where the target resource is experiencing an outage or other disaster, it's the organization's responsibility to prevent data loss by establishing backups according to the guidelines from Azure Event Hubs, Log Analytics workspace, and Logic App.
232
+
Continuous export can be helpful in to prepare for BCDR scenarios where the target resource is experiencing an outage or other disaster. However, it's the organization's responsibility to prevent data loss by establishing backups according to the guidelines from Azure Event Hubs, Log Analytics workspace, and Logic App.
236
233
237
234
Learn more in [Azure Event Hubs - Geo-disaster recovery](../event-hubs/event-hubs-geo-dr.md).
238
235
239
-
### Is continuous export available for free?
240
-
241
-
Yes! Note that many alerts are only provided when you've enabled advanced protections. A good way to preview the alerts you'll get in your exported data is to see the alerts shown in Defender for Cloud's pages in the Azure portal.
242
-
243
236
## Next steps
244
237
245
238
In this article, you learned how to configure continuous exports of your recommendations and alerts. You also learned how to download your alerts data as a CSV file.
0 commit comments