Ensure that a Microsoft Azure activity log alert is fired whenever a "Delete Virtual Machine" event is triggered within your cloud account. An Azure activity log alert fires each time the action event that matches the condition specified in the alert configuration is triggered. The alert condition that this conformity rule searches for is `Whenever the Administrative Activity Log "Delete Virtual Machine (Microsoft.Compute/virtualMachines)" has "any" Event level, with "any" Status and Event initiated by "any"`
This rule resolution is part of the Conformity Security & Compliance tool for Azure.
Using Microsoft Azure Monitor service to detect "Delete Virtual Machine" events will help you reduce the time needed to mitigate any accidental or intentional deletion of virtual machines (VMs) within your Azure account and improve the VM resources security and management.
Audit
To determine if there are any activity log alerts created for "Delete Virtual Machine" events in your Microsoft Azure cloud account, perform the following actions:
Remediation / Resolution
To implement a Microsoft Azure activity log alert for "Delete Virtual Machine (Microsoft.Compute/virtualMachines)" events, perform the following actions:
References
- Azure Official Documentation
- Create, view, and manage activity log alerts by using Azure Monitor
- Create, view, and manage log alerts using Azure Monitor
- Action rules (preview)
- Azure PowerShell Documentation
- az monitor activity-log alert list
- az monitor activity-log alert show
- az monitor activity-log alert create
Unlock the Remediation Steps
Free 30-day Trial
Automatically audit your configurations with Conformity
and gain access to our cloud security platform.
You are auditing:
Create Alert for "Delete Virtual Machine" Events
Risk Level: High