Skip to content

Commit 8edaa8d

Browse files
Merge pull request #225609 from danielledennis/main
Data connections overview
2 parents 449b678 + d5ac4ae commit 8edaa8d

12 files changed

+171
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
href: understanding-inventory-assets.md
88
- name: What is Discovery?
99
href: what-is-discovery.md
10+
- name: Data Connections overview (preview)
11+
href: data-connections-overview.md
1012
- name: How-to
1113
items:
1214
- name: Understanding asset details
Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
---
2+
title: Data connections overview (preview)
3+
titleSuffix: Defender EASM data connections overview (preview)
4+
description: This article describes the data connections functionality in Defender EASM, enabling users to easily export asset or attack surface insight data to either Log Analytics or Azure Data Explorer.
5+
author: danielledennis
6+
ms.author: dandennis
7+
ms.service: security
8+
ms.date: 1/30/2022
9+
ms.topic: how-to
10+
---
11+
12+
# Data connections overview (preview)
13+
14+
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.
15+
16+
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.
17+
18+
[Microsoft Log Analytics](https://learn.microsoft.com/azure/azure-monitor/logs/log-analytics-workspace-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.
19+
20+
[Azure Data Explorer](https://learn.microsoft.com/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.
21+
22+
![Screenshot of Data Connections page from Defender EASM resource.](media/dataconnector-1.png)
23+
24+
25+
26+
## Data content options
27+
28+
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.
29+
30+
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.
31+
32+
33+
### Asset data
34+
35+
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.
36+
37+
38+
### Attack surface insights
39+
40+
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.
41+
42+
43+
44+
45+
## Configuring data connections
46+
47+
### Accessing data connections
48+
49+
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.
50+
51+
![Screenshot of Data Connections page from Defender EASM resource with "Data Connections" in left-hand navigation highlighted.](media/dataconnector-2.png)
52+
53+
54+
55+
56+
### Connection prerequisites
57+
58+
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.
59+
60+
61+
62+
63+
#### Configuring Log Analytics permissions
64+
65+
1. Open the Log Analytics workspace that will ingest your Defender EASM data, or [create a new workspace](https://learn.microsoft.com/azure/azure-monitor/logs/quick-create-workspace?tabs=azure-portal).
66+
67+
2. Select **Access control (IAM)** from the left-hand navigation pane. For more information on access control, see [identity documentation](https://learn.microsoft.com/azure/cloud-adoption-framework/decision-guides/identity/).
68+
69+
![Sceenshot of Log Analytics workspace with Access Control (IAM) highlighted in left-hand navigation pane.](media/dataconnector-3.png)
70+
71+
3. On this page, select **+Add** to create a new role assignment.
72+
73+
4. From the **Role** tab, select **Contributor**. Click **Next**.
74+
75+
5. 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**.
76+
77+
6. Once the role assignment has been created, select **Agents** from the **Settings** section of the left-hand navigation menu.
78+
79+
![Screenshot of Log Analytics workspace with Agents section highlighted in left-hand navigation pane.](media/dataconnector-4.png)
80+
81+
7. 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: WorksapceId=XXX;ApiKey=YYY
82+
83+
84+
85+
86+
#### Configuring Data Explorer permissions
87+
88+
1. Open the Data Explorer cluster that will ingest your Defender EASM data or [create a new cluster](https://learn.microsoft.com/azure/data-explorer/create-cluster-database-portal).
89+
90+
2. Select **Databases** in the Data section of the left-hand navigation menu.
91+
92+
3. Select **+Add Database** to create a database to house your Defender EASM data.
93+
94+
![Screenshot of Data Explorer cluster with Databases and Add Database sections highlighted.](media/dataconnector-5.png)
95+
96+
4. Name your database, configure retention and cache periods, then select **Create**.
97+
98+
![Sceenshot of adding a new database configuration screen to a Data Explorer cluster.](media/dataconnector-6.png)
99+
100+
5. 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.
101+
102+
![Screenshot of permissions section highlighted from left-hand navigation pane in Data Analytics instance.](media/dataconnector-7.png)
103+
104+
To successfully export Defender EASM data to Data Explorer, users must create two new permissions for the EASM API: **user** and **ingestor**.
105+
106+
6. First, select **+Add** and create a user. Search for **EASM API**, select the value then click **Select**.
107+
108+
7. Select **+Add** to create an ingestor. Follow the same steps outlined above to add the EASM API as an ingestor.
109+
110+
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
111+
112+
113+
114+
115+
### Add a connection
116+
117+
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.
118+
119+
A configuration pane will open on the right-hand side of the Data Connections screen. The following four fields are required:
120+
- **Name**: enter a name for this data connection.
121+
- **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.
122+
- **Content**: users can select to integrate asset data, attack surface insights or both datasets.
123+
- **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.
124+
125+
126+
![Screenshot of "add a data connection" pop-up box.](media/dataconnector-8.png)
127+
128+
129+
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.
130+
131+
132+
133+
134+
### Edit or delete a connection
135+
136+
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.
137+
138+
To edit or delete a data connection:
139+
140+
1. Select the appropriate connection from the list on the main Data Connections page.
141+
142+
![Screenshot of data connections page with "disconnected" section highlighted.](media/dataconnector-9.png)
143+
144+
2. 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:
145+
- **Recurring**: the day of the week or month that Defender EASM sends updated data to the connected tool.
146+
- **Created**: the date and time that the data connection was created.
147+
- **Updated**: the date and time that the data connection was last updated.
148+
149+
![Screenshot of the details page for a data connection with an example error message.](media/dataconnector-10.png)
150+
151+
152+
3. From this page, users can elect to reconnect, edit or delete their data connection.
153+
154+
- **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.
155+
- **Edit**: this option allows users to change the configuration for the data connection.
156+
- **Delete**: this option deletes the data connection.
157+
158+
159+
160+
161+
## Next steps
162+
163+
- [Defender for EASM REST API documentation](https://learn.microsoft.com/rest/api/defenderforeasm/)
164+
- [Understanding asset details](https://learn.microsoft.com/azure/external-attack-surface-management/understanding-asset-details)
165+
- [Inventory filters overview](https://learn.microsoft.com/azure/external-attack-surface-management/inventory-filters)
166+
167+
168+
169+
134 KB
Loading
42.4 KB
Loading
99.7 KB
Loading
144 KB
Loading
92 KB
Loading
158 KB
Loading
90.6 KB
Loading
115 KB
Loading

0 commit comments

Comments
 (0)