Skip to content

Commit 20ec6fe

Browse files
authored
Merge pull request Azure#13191 from shajee988/update-sentinel-rule(AnomalousSingleFactorSignin)
Update sentinel rule(anomalous single factor signin)
2 parents 7445099 + c7a903a commit 20ec6fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Detections/SigninLogs/AnomalousSingleFactorSignin.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ 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)
34-
| where ResultType == 0
34+
| where ResultType != 0
3535
| where isempty(DeviceDetail.deviceId)
3636
| where AuthenticationRequirement == "singleFactorAuthentication"
3737
| extend LocationParsed = parse_json(LocationDetails), DeviceParsed = parse_json(DeviceDetail)
@@ -60,7 +60,7 @@ entityMappings:
6060
columnName: AppId
6161
- identifier: Name
6262
columnName: AppDisplayName
63-
version: 1.0.4
63+
version: 1.0.5
6464
kind: Scheduled
6565
metadata:
6666
source:

0 commit comments

Comments
 (0)