diff --git a/Hunting Queries/MultipleDataSources/NonCompliantSigninwithBulkDownload.yaml b/Hunting Queries/MultipleDataSources/NonCompliantSigninwithBulkDownload.yaml index d1320465a3e..5e75dc94e72 100644 --- a/Hunting Queries/MultipleDataSources/NonCompliantSigninwithBulkDownload.yaml +++ b/Hunting Queries/MultipleDataSources/NonCompliantSigninwithBulkDownload.yaml @@ -26,7 +26,7 @@ query: | | join kind=inner ( AuditLogs - | where OperationName has_any ("Download group members", "Download users", "Download user registeration details", "Download groups") + | where OperationName has_any ("Download group members", "Download users", "Download user registration details", "Download groups") | extend IpAddress = case( isnotempty(tostring(parse_json(tostring(InitiatedBy.user)).ipAddress)) and tostring(parse_json(tostring(InitiatedBy.user)).ipAddress) != 'null', tostring(parse_json(tostring(InitiatedBy.user)).ipAddress), isnotempty(tostring(parse_json(tostring(InitiatedBy.app)).ipAddress)) and tostring(parse_json(tostring(InitiatedBy.app)).ipAddress) != 'null', tostring(parse_json(tostring(InitiatedBy.app)).ipAddress),'Not Available')