Ensure that an Azure activity log alert is fired whenever "Rename Azure SQL Database" events are triggered within your Microsoft Azure cloud account. Activity log alerts get triggered when a new activity log event that matches the condition specified in the alert configuration occurs. For this conformity rule, the matched condition is "Whenever the Activity Log has an event with Category='Administrative', Signal name='Rename Azure SQL Database (servers/databases)'".
This rule resolution is part of the Conformity Security & Compliance tool for Azure.
You can rename an Azure SQL database either from a SQL Server Management Studio (SSMS) or from Windows PowerShell. Monitoring your Microsoft Azure cloud account for "Rename Azure SQL Database" events will help you rapidly mitigate security and availability issues in case an SQL database is accidentally or intentionally renamed, reducing the application downtime and improving the service availability.
Audit
To determine if there is an activity log alert created for "Rename Azure SQL Database" events in your Microsoft Azure cloud account, perform the following actions:
Remediation / Resolution
To create a Microsoft Azure activity log alert for "Rename Azure SQL Database (Microsoft.Sql/servers/databases)" 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) Documentation
- az monitor activity-log alert list
- az monitor activity-log alert show
- az monitor activity-log alert create