mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-20 04:43:37 +00:00
Update windows/security/threat-protection/microsoft-defender-atp/custom-detection-rules.md
Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
This commit is contained in:
@ -37,7 +37,7 @@ In Microsoft Defender Security Center, go to **Advanced hunting** and select an
|
|||||||
> To use a query for a custom detection rule, the query must return the `EventTime`, `MachineId`, and `ReportId` columns in the results. Queries that don’t use the `project` operator to customize results usually return these common columns.
|
> To use a query for a custom detection rule, the query must return the `EventTime`, `MachineId`, and `ReportId` columns in the results. Queries that don’t use the `project` operator to customize results usually return these common columns.
|
||||||
|
|
||||||
> [Example]
|
> [Example]
|
||||||
>MiscEvents
|
> MiscEvents
|
||||||
| where EventTime > ago(7d)
|
| where EventTime > ago(7d)
|
||||||
| where ActionType == "AntivirusDetection"
|
| where ActionType == "AntivirusDetection"
|
||||||
| summarize (EventTime, ReportId)=arg_max(EventTime, ReportId), count() by MachineId
|
| summarize (EventTime, ReportId)=arg_max(EventTime, ReportId), count() by MachineId
|
||||||
|
Reference in New Issue
Block a user