Azure diagnostic setting deleted or disabled

Set up the azure integration.


Detect when a diagnostic setting is deleted which can disable centralized logging and metrics on Azure.


Monitor Azure logs where is "MICROSOFT.INSIGHTS/DIAGNOSTICSETTINGS/DELETE" and @evt.outcome is Success.

Triage and response

  1. Inspect the diagnostic setting resource which is found in @resourceId.
  2. Verify that the user ({{}}) to determine if the removal of the resource is legitimate.