Ensure that an Azure activity log alert is fired whenever "Create" or "Update Network Security Group" events are triggered within your Microsoft Azure cloud account. Activity log alerts get activated when a new activity log event that matches the condition specified in the alert occurs. In this case, the alert condition that we search for is 'Whenever the Administrative Activity Log "Create or Update Network Security Group (Microsoft.Network/networkSecurityGroups)" has "any" level, with "any" status and event is initiated by "any"'.
This rule resolution is part of the Conformity Security & Compliance tool for Azure.
Monitoring your Microsoft Azure account for "Create" or "Update Network Security Group" events can give you insights into the cloud network access changes and can help reduce the time it takes to detect suspicious activity.
Audit
To determine if there is an activity log alert created for "Create/Update Network Security Group" events in your Azure cloud account, perform the following actions:
Remediation / Resolution
To create a Microsoft Azure activity log alert for "Create/Update Network Security Group" events, perform the following actions:
References
- Azure Official Documentation
- Create, view, and manage activity log alerts by using Azure Monitor
- Action rules (preview)
- CIS Microsoft Azure Foundations
- Azure Command Line Interface (CLI) Documentation
- az monitor log-profiles
- az monitor activity-log alert list
- az monitor activity-log alert show
- az monitor activity-log alert create