Query Details
//When an Analytics Rule is Deleted; Alert when an Analytics Rule is deleted and who did it. AzureActivity | where OperationNameValue contains "MICROSOFT.SECURITYINSIGHTS/ALERTRULES/DELETE" | 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 looks for instances when an Analytics Rule is deleted in Azure. It filters for successful deletions and retrieves information about who performed the deletion, including their account and IP address. The query also includes the ID of the deleted Analytics Rule.

Rod Trent
Released: December 2, 2020
Tables
Keywords
Operators