For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/default_rules/def-000-9q9.md. A documentation index is available at /llms.txt.

'Create or Update Network Security Group' activity log alert should be configured

Description

Azure subscriptions should have an enabled activity log alert for the “Create or Update Network Security Group” (Microsoft.Network/networkSecurityGroups/write) operation. This alert helps you detect unauthorized changes to network security groups. This rule passes when the alert is scoped to the subscription, uses the Administrative category, and does not filter on Level, Status, or Caller. It does not check whether an action group is attached to the alert, so confirm that separately.

Remediation

Create a subscription-scoped activity log alert rule for the Create or Update Network Security Group signal and attach an action group. Do not filter the alert on Level, Status, or Caller. See Create an activity log, service health, or resource health alert rule.

References