Skip to content

Commit

Permalink
Fix m365d/mde hunting query options (#702)
Browse files Browse the repository at this point in the history
* fix unpassed time_column param in m365d_hunting

* comment out unused start and end param in m365d/mde hunting

* delete, not comment out

---------

Co-authored-by: Ian Hellen <ianhelle@microsoft.com>
  • Loading branch information
Tatsuya-hasegawa and ianhelle committed Sep 29, 2023
1 parent 900cefe commit aef43f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
8 changes: 1 addition & 7 deletions msticpy/data/queries/m365d/kql_m365_hunting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ defaults:
metadata:
data_source: 'hunting_queries'
parameters:
start:
description: Query start time
type: datetime
end:
description: Query end time
type: datetime
add_query_items:
description: Additional query clauses
type: str
Expand Down Expand Up @@ -413,7 +407,7 @@ sources:
makeset(Command), count(), min({time_column}) by
AccountName, DeviceName, DeviceId
| order by AccountName asc
| where min_Timestamp > ago(1d)
| where min_{time_column} > ago(1d)
{add_query_items}'
uri: "https://github.com/microsoft/WindowsDefenderATP-Hunting-Queries/blob/master/Lateral%20Movement/ServiceAccountsPerformingRemotePS.txt"
accessibility_persistence:
Expand Down
6 changes: 0 additions & 6 deletions msticpy/data/queries/mde/kql_mdatp_hunting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ defaults:
metadata:
data_source: 'hunting_queries'
parameters:
start:
description: Query start time
type: datetime
end:
description: Query end time
type: datetime
add_query_items:
description: Additional query clauses
type: str
Expand Down

0 comments on commit aef43f2

Please sign in to comment.