Query Details
//Analytics Rule to report when someone creates or modifies an Analytics Rule //Entities: Caller, Caller IP, and Analytics Rule ID AzureActivity | where OperationNameValue has "MICROSOFT.SECURITYINSIGHTS/ALERTRULES/WRITE" | where ActivityStatusValue == "Success" | extend Analytics_Rule_ID = tostring(parse_json(Properties).resource) | extend AccountCustomEntity = Caller | extend IPCustomEntity = CallerIpAddress | extend URLCustomEntity = Analytics_Rule_ID
This query is looking for instances where someone creates or modifies an Analytics Rule in Azure. It filters for successful operations and extracts the Caller, Caller IP, and Analytics Rule ID as custom entities.

Rod Trent
Released: October 28, 2020
Tables
Keywords
Operators