Skip to content

Commit 8cf15ff

Browse files
authored
Merge pull request #230400 from elaineriq/docs-editor/data-connections-1678702660
Create article data-connections
2 parents c2d7ac4 + 6778706 commit 8cf15ff

File tree

11 files changed

+131
-0
lines changed

11 files changed

+131
-0
lines changed

articles/external-attack-surface-management/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- name: Enabling data connections
2+
href: data-connections.md
13
- name: Concepts
24
expanded: true
35
items:
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
---
2+
# Required metadata
3+
# For more information, see https://review.learn.microsoft.com/en-us/help/platform/learn-editor-add-metadata?branch=main
4+
# For valid values of ms.service, ms.prod, and ms.topic, see https://review.learn.microsoft.com/en-us/help/platform/metadata-taxonomies?branch=main
5+
6+
title: Defender EASM Data Connections
7+
description: "The data connector sends Defender EASM asset data to two different platforms: Microsoft Log Analytics and Azure Data Explorer. Users need to be active customers to export Defender EASM data to either tool, and data connections are subject to the pricing model for each respective platform."
8+
author: elaineriq # GitHub alias
9+
ms.author: elgonzalez # Microsoft alias
10+
ms.service: security
11+
# ms.prod: # To use ms.prod, uncomment it and delete ms.service
12+
ms.topic: how-to
13+
ms.date: 03/20/2023
14+
---
15+
16+
# Defender EASM data connections
17+
18+
## **Overview**
19+
20+
Microsoft Defender External Attack Surface Management (Defender EASM) now offers data connections to help users seamlessly integrate their attack surface data into other Microsoft solutions to supplement existing workflows with new insights. Users must get data from Defender EASM into the other security tools they use for remediation purposes to best operationalize their attack surface data.
21+
22+
The data connector sends Defender EASM asset data to two different platforms: Microsoft Log Analytics and Azure Data Explorer. Users need to be active customers to export Defender EASM data to either tool, and data connections are subject to the pricing model for each respective platform.
23+
24+
[Microsoft Log Analytics](/azure/sentinel/overview) provides SIEM (security information and event management) and SOAR (security orchestration, automation and response) capabilities. Defender EASM asset or insights information can be used in Log Analytics to enrich existing workflows in conjunction with other security data. This information can supplement firewall and configuration information, threat intelligence, compliance data and more to provide visibility into your external-facing infrastructure on the open internet. Users can create or enrich security incidents, build investigation playbooks, train machine learning algorithms, or trigger remediation actions.
25+
26+
[Azure Data Explorer](/azure/data-explorer/data-explorer-overview) is a big data analytics platform that helps users analyze high volumes of data from various sources with flexible customization capabilities. Defender EASM asset and insights data can be integrated to leverage visualization, query, ingestion and management capabilities within the platform. Whether building custom reports with Power BI or hunting for assets that match precise KQL queries, exporting Defender EASM data to Azure Data Explorer enables users to leverage their attack surface data with endless customization potential.
27+
28+
29+
**Data content options**
30+
<br>Defender EASM data connections offers users the ability to integrate two different kinds of attack surface data into the tool of their choice. Users can elect to migrate asset data, attack surface insights or both data types. Asset data provides granular details about your entire inventory, whereas attack surface insights provide immediately actionable insights based on Defender EASM dashboards.
31+
32+
To accurately present the infrastructure that matters most to your organization, please note that both content options will only include assets in the “Approved Inventory” state.
33+
34+
35+
36+
**Asset data**
37+
<br>The Asset Data option will send data about all your inventory assets to the tool of your choice. This option is best for use cases where the granular underlying metadata is key to the operationalization of your Defender EASM integration (e.g. Sentinel, customized reporting in Data Explorer). Users can export high-level context on every asset in inventory as well as granular details specific to the particular asset type. This option does not provide any pre-determined insights about the assets; instead, it offers an expansive amount of data so users can surface the customized insights they care about most.
38+
39+
40+
**Attack surface insights**
41+
<br>Attack Surface Insights provide an actionable set of results based on the key insights delivered through dashboards in Defender EASM. This option provides less granular metadata on each asset; instead, it categorizes assets based on the corresponding insight(s) and provides the high-level context required to investigate further. This option is ideal for those who want to integrate these pre-determined insights into custom reporting workflows in conjunction with data from other tools.
42+
43+
## **Configuring data connections**
44+
45+
46+
**Accessing data connections**
47+
<br>Users can access Data Connections from the **Manage** section of the left-hand navigation pane within their Defender EASM resource blade. This page displays the data connectors for both Log Analytics and Azure Data Explorer, listing any current connections and providing the option to add, edit or remove connections.
48+
49+
![Screenshot of data connector.](media/data-connections/data-connector-1a.png)
50+
51+
52+
**Connection prerequisites**
53+
<br>To successfully create a data connection, users must first ensure that they have completed the required steps to grant Defender EASM permission to the tool of their choice. This process enables the application to ingest our exported data and provides the authentication credentials needed to configure the connection.
54+
55+
**Configuring Log Analytics permissions via UI**
56+
57+
1. Open the Log Analytics workspace that will ingest your Defender EASM data, or [create a new workspace](/azure/azure-monitor/logs/quick-create-workspace?tabs=azure-portal).
58+
1. Select **Access control (IAM)** from the left-hand navigation pane. For more information on access control, see [identity documentation](/azure/cloud-adoption-framework/decision-guides/identity/).
59+
![Screenshot of Log Analytics Access control.](media/data-connections/data-connector-2.png)
60+
61+
1. On this page, select **+Add** to create a new role assignment.
62+
1. From the **Role** tab, select **Contributor**. Click **Next**.
63+
1. Open the **Members** tab. Click **+ Select members** to open a configuration pane. Search for **“EASM API”** and click on the value in the members list. Once done, click **Select**, then **Review + assign.**
64+
1. Once the role assignment has been created, select **Agents** from the **Settings** section of the left-hand navigation menu.
65+
![Screenshot of Log Analytics agents.](media/data-connections/data-connector-3.png)
66+
67+
1. Expand the **Log Analytics agent instructions** section to view your Workspace ID and Primary key. These values will be used to set up your data connection. Save the values in the following format: *WorkspaceId=XXX;ApiKey=YYY*
68+
69+
**Configuring Data Explorer permissions**
70+
71+
1. Open the Data Explorer cluster that will ingest your Defender EASM data or [create a new cluster](/azure/data-explorer/create-cluster-database-portal).
72+
1. Select **Databases** in the Data section of the left-hand navigation menu.
73+
1. Select **+ Add Database** to create a database to house your Defender EASM data.
74+
![Screenshot of Azure Data Explorer Add database.](media/data-connections/data-connector-4.png)
75+
76+
1. Name your database, configure retention and cache periods, then select **Create**.
77+
![Screenshot of add database.](media/data-connections/data-connector-5.png)
78+
79+
1. Once your Defender EASM database has been created, click on the database name to open the details page. Select **Permissions** from the Overview section of the left-hand navigation menu.
80+
To successfully export Defender EASM data to Data Explorer, users must create two new permissions for the EASM API: **user** and **ingestor**.
81+
![Screenshot of Data Explorer permissions.](media/data-connections/data-connector-6b.png)
82+
83+
1. First, select **+ Add** and create a user. Search for “**EASM API**”, select the value then click **Select**.
84+
1. Select **+ Add** to create an ingestor. Follow the same steps outlined above to add the **"EASM API"** as an ingestor.
85+
86+
8. Your database is now ready to connect to Defender EASM. You will need the cluster name, database name and region in the following format when configuring your Data Connection: *ClusterName=XXX;Region=YYY;DatabaseName=ZZZ*
87+
88+
89+
90+
**Add a data connection**
91+
<br>Users can connect their Defender EASM data to either Log Analytics or Azure Data Explorer. To do so, simply select **“Add connection”** for the appropriate tool from the Data Connections page.
92+
A configuration pane will open on the right-hand side of the Data Connections screen. The following four fields are required:
93+
94+
- **Name**: enter a name for this data connection.
95+
- **Connection String**: enter the details required to connect your Defender EASM resource to another tool. For Log Analytics, users enter the workspaceID and coinciding API key associated to their account. For Azure Data Explorer, users enter the cluster name, region and database name associated to their account. Both values must be entered in the format shown when the field is blank.
96+
- **Content**: users can select to integrate asset data, attack surface insights or both datasets.
97+
- **Frequency**: select the frequency that the Defender EASM connection sends updated data to the tool of your choice. Available options are daily, weekly and monthly.
98+
99+
![Screenshot of add data connection.](media/data-connections/data-connector-7.png)
100+
101+
102+
103+
Once all four fields are configured, select **Add** to create the data connection. At this point, the Data Connections page will display a banner that indicates the resource has been successfully created and data will begin populating within 30 minutes. Once connections are created, they will be listed under the applicable tool on the main Data Connections page.
104+
105+
**Edit or delete a data connection**
106+
<br>Users can edit or delete a data connection. For example, you may notice that a connection is listed as “Disconnected” and would therefore need to re-enter the configuration details to fix the issue.
107+
To edit or delete a data connection:
108+
109+
1. Select the appropriate connection from the list on the main Data Connections page.
110+
![Screenshot of disconnected data connections.](media/data-connections/data-connector-8.png)
111+
112+
1. This action will open a page that provides additional data about the connection. This page displays the configurations you elected when creating the connection, as well as any error messages. Users will also see the following additional data:
113+
**Recurring on**: the day of the week or month that Defender EASM sends updated data to the connected tool.
114+
**Created**: the date and time that the data connection was created.
115+
**Updated**: the date and time that the data connection was last updated.
116+
![Screenshot of test connections.](media/data-connections/data-connector-9.png)
117+
118+
1. From this page, users can elect to reconnect, edit or delete their data connection.<br>
119+
**Reconnect**: this option attempts to validate the data connection without any changes to the configuration. This option is best for those who have validated the authentication credentials used for the data connection.<br>
120+
**Edit**: this option allows users to change the configuration for the data connection.<br>
121+
**Delete**: this option deletes the data connection.
122+
123+
124+
125+
126+
127+
128+
129+
315 KB
Loading
232 KB
Loading
71.3 KB
Loading
75.4 KB
Loading
37.2 KB
Loading
107 KB
Loading
28.9 KB
Loading
90.7 KB
Loading

0 commit comments

Comments
 (0)