Skip to content

Commit 8a424eb

Browse files
author
smustafa
committed
Updated failed login rule query
1 parent f8b72dd commit 8a424eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detections/SigninLogs/AnomalousSingleFactorSignin.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ tags:
2222
query: |
2323
let known_locations = (SigninLogs
2424
| where TimeGenerated between(ago(7d)..ago(1d))
25-
| where ResultType == 0
25+
| where ResultType != 0
2626
| extend LocationDetail = strcat(Location, "-", LocationDetails.state)
2727
| summarize by LocationDetail);
2828
let known_asn = (SigninLogs
2929
| where TimeGenerated between(ago(7d)..ago(1d))
30-
| where ResultType == 0
30+
| where ResultType != 0
3131
| summarize by AutonomousSystemNumber);
3232
SigninLogs
3333
| where TimeGenerated > ago(1d)

0 commit comments

Comments
 (0)