Microsoft Defender XDR Alert External Alerts

Last updated 16 days ago on 2026-06-30
Created 16 days ago on 2026-06-30

About

Generates a detection alert for each Microsoft Defender XDR alert written to the configured indices. Microsoft Defender emits multiple update events for the same alert over its lifecycle, all sharing a stable alert identifier. This rule suppresses those update events so that a single, continuous Elastic alert is maintained per Defender alert rather than a new alert per update. Enabling this rule allows you to immediately begin investigating Microsoft Defender XDR alerts in the app.
Tags
Data Source: Microsoft Defender XDRUse Case: Threat DetectionPromotion: External AlertsLanguage: kuery
Severity
medium
Risk Score
47
License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
Query (Kibana Query Language)
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-m365_defender.alert-*
Related Integrations

m365_defender(external, opens in a new tab or window)

Query
text code block:
event.kind: alert and data_stream.dataset: m365_defender.alert

Install detection rules in Elastic Security

Detect Microsoft Defender XDR Alert External Alerts in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).