Query Details
# Identify assets from MDEASM in Exposure Management ## Description The following query will help identify which assets are available from Microsoft Defender External Attack Surface Management in the Advanced Hunting tables from Exposure Management. ### References - https://www.michalos.net/2025/07/31/breaking-down-the-microsoft-defender-external-attack-surface-management-opportunities-for-queries-in-advanced-hunting-log-analytics-workspace/ ### Microsoft Defender XDR ``` ExposureGraphNodes | extend deepLinkInfo = parse_json(NodeProperties)["rawData"]["deepLink"] | where deepLinkInfo startswith "https://portal.azure.com/#view/Microsoft_Azure_EASM/" ``` ### Versioning | Version | Date | Comments | | ------------- |---------------| ---------------------------------------| | 1.0 | 31/07/2025 | Initial publish |
This query is designed to identify assets from Microsoft Defender External Attack Surface Management (MDEASM) within the Exposure Management Advanced Hunting tables. Here's a simple breakdown of what the query does:
Data Source: It uses the ExposureGraphNodes table, which contains information about various nodes (or assets) related to exposure management.
Data Processing:
deepLinkInfo from the NodeProperties column. This is done by parsing the JSON data within NodeProperties to access the rawData and then the deepLink.Filtering:
deepLinkInfo starts with the URL https://portal.azure.com/#view/Microsoft_Azure_EASM/. This URL pattern indicates that the asset is associated with Microsoft Defender External Attack Surface Management.In summary, the query helps you find and list assets that are managed by Microsoft Defender External Attack Surface Management by looking for specific links in the data that point to the Azure portal's EASM view.

Michalis Michalos
Released: July 31, 2025
Tables
Keywords
Operators