Multiple large queries made by user
Description
'This hunting query looks for users who are running multiple queries that return either a very large amount of data or the maximum amount allowed by the query method.'
Query · kql
let UI_apps = dynamic(['ASI_Portal','AzureMonitorLogsConnector','AppAnalytics']); let threshold = 3; LAQueryLogs | where (ResponseRowCount == 10001 and RequestClientApp in(UI_apps)) or (ResponseRowCount > 10001 and RequestClientApp !in(UI_apps)) | summarize count() by AADEmail | where count_ > threshold | join kind=rightsemi ( LAQueryLogs | where (ResponseRowCount == 10001 and RequestClientApp in(UI_apps)) or (ResponseRowCount > 10001 and RequestClientApp !in(UI_apps))) on AADEmail | extend timestamp = TimeGenerated, AccountCustomEntity = AADEmail