Skip to content

Commit a8a7381

Browse files
authored
Merge pull request #317 from EHLOBen/patch-5
Update reports-mdo-email-collaboration-dashboard.md
2 parents f05017d + 8cc2642 commit a8a7381

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

defender-office-365/reports-mdo-email-collaboration-dashboard.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ The graph on the **Microsoft 365 Secure Email Gateway performance** card compare
254254
Organizations with Defender for Office 365 Plan 2 can use the following query in [advanced hunting](/defender-xdr/advanced-hunting-overview) to generate the same data on the [**Phish / Malware Efficacy** card](#phish--malware-efficacy-card).
255255

256256
> [!NOTE]
257-
> The numbers might differ slightly due to the different refresh rates for advanced hunting vs. reporting data.
257+
> The numbers might differ slightly due to the different refresh and expiry rates for advanced hunting vs. reporting data.
258258
259259
```kusto
260260
let _startTime = ago(30d);
@@ -263,8 +263,8 @@ let PreDelivery = toscalar(
263263
EmailEvents
264264
| where Timestamp between (_startTime .. _endTime)
265265
and EmailDirection == "Inbound"
266-
and DeliveryLocation in ("Junk folder", "Quarantine")
267266
and (ThreatTypes contains "Phish" or ThreatTypes contains "Malware")
267+
| where not(DeliveryAction == "Blocked" and DeliveryLocation in ("Dropped","Failed"))
268268
| extend MDO_detection = parse_json(DetectionMethods)
269269
| extend FirstDetection = iif(isempty(MDO_detection), "Clean", tostring(bag_keys(MDO_detection)[0]))
270270
| extend FirstSubcategory = iif(FirstDetection != "Clean" and array_length(MDO_detection[FirstDetection]) > 0, strcat(FirstDetection, ": ", tostring(MDO_detection[FirstDetection][0])), "No Detection (clean)")

0 commit comments

Comments
 (0)