Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Attention: All Microsoft Defender for Cloud features will be officially retired in Azure in China region on August 18, 2026 per the announcement posted by 21Vianet.
Defender for Databases in Microsoft Defender for Cloud helps you protect your entire database estate. It provides attack detection and threat response for the most popular database types in Azure. Defender for Cloud protects database engines and data types based on their attack surface and security risks.
Defender for Databases includes three offerings that relate to database types:
Microsoft Defender for Azure SQL Databases: Offers threat protection for Azure SQL databases by detecting and responding to potential security threats.
Microsoft Defender for SQL Servers on Machines: Offers security for SQL servers running on virtual machines or physical servers.
Microsoft Defender for Open-Source Relational Databases: Offers security for open-source relational databases such as PostgreSQL, MySQL, and MariaDB by providing continuous monitoring and threat detection.
Each of these database protection plans is priced separately. For more information, see the Defender for Cloud pricing page. You can also estimate costs with the Defender for Cloud cost calculator.
These four database protection plans are priced separately. Find more info about Defender for Cloud's pricing on the pricing page. You can also estimate costs with the Defender for Cloud cost calculator.
Prerequisites
You need a Azure subscription. If you don't have an Azure subscription, sign up for a trial subscription.
You must enable Microsoft Defender for Cloud on your Azure subscription.
Enable the Databases plan
Enabling database protection activates all four Defender plans and protects all supported databases on your subscription.
Sign in to the Azure portal.
Search for and select Microsoft Defender for Cloud.
In the Defender for Cloud menu, select Environment settings.
Select the relevant Azure subscription.
On the Defender plans page, switch the Databases plan to On.
Enable and modify specific database plans
Defender for Databases protects different types of supported databases in your subscription. You can enable or disable each subplan to protect the relevant database types. The subplans include:
- Defender for Azure SQL Databases protection.
- Defender for SQL Servers on Machines protection.
- Defender for open-source relational databases on Azure protection.
When all of these plans are enabled, you protect all supported databases types in your subscription.