Ensure that a Microsoft Azure activity log alert is fired whenever a "Delete PostgreSQL Database" 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 checks for is "Whenever the Activity Log has an event with Category='Administrative', Signal name='Delete PostgreSQL Database (Microsoft.DBforPostgreSQL/servers/databases)'".
This rule resolution is part of the Conformity Security & Compliance tool for Azure.
Using Microsoft Azure Monitor service to detect "Delete PostgreSQL Database" events will help you reduce the time needed to mitigate any accidental or intentional deletion of Azure PostgreSQL databases provisioned within your Azure cloud account and improve the overall database security and availability.
Audit
To determine if there are any activity log alerts created for "Delete PostgreSQL Database" events in your Microsoft Azure cloud account, perform the following actions:
Remediation / Resolution
To create a Microsoft Azure activity log alert for "Delete PostgreSQL Database" 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 Command Line Interface (CLI) Commands
- az monitor activity-log alert list
- az monitor activity-log alert show
- az monitor activity-log alert create