Azure diagnostic setting deleted or disabled

Set up the azure integration.

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Goal

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

Strategy

Monitor Azure logs where @evt.name 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 ({{@usr.id}}) to determine if the removal of the resource is legitimate.
PREVIEWING: may/unit-testing