Ensure Microsoft Defender for open-source relational databases is enabled
Last updated: April 9, 2026
Framework Reference: A.8.16 Integration: Azure – Microsoft Defender for Cloud
Why this matters
Enabling Microsoft Defender for open-source relational databases provides built-in threat protection for MySQL, PostgreSQL, and MariaDB. It leverages threat intelligence, anomaly detection, and behavioral analytics to identify suspicious activities. Without it, these services lack advanced security monitoring, leaving data assets exposed to undetected threats.
What this check does
Check Logic
Validate that Microsoft Defender is enabled for open-source relational databases by checking if the pricing tier for this resource type is set to Standard.
Applies to
Azure Database for MySQL
Azure Database for PostgreSQL
Azure Database for MariaDB
How to fix it
Azure Portal
Navigate to Microsoft Defender for Cloud
Under Management, select Environment Settings
Click on the relevant subscription name
Select the Defender plans blade
In the Databases row, click Select types
Set the toggle next to Open-source relational databases to On
Click Continue, then Save
Azure CLI
az security pricing create -n 'OpenSourceRelationalDatabases' --tier 'standard'
PowerShell
Set-AzSecurityPricing -Name "OpenSourceRelationalDatabases" -PricingTier "Standard"
Exceptions
None