Protect your databases with Defender for Databases

Defender for Databases in Microsoft Defender for Cloud lets you protect your entire database estate with 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.

Database protection includes:

These four database protection plans are priced separately. Find more info about Defender for Cloud's pricing on the pricing page.

Prerequisites

Enable the Databases plan

Enabling database protection activates all four Defender plans and protects all supported databases on your subscription.

  1. Sign in to the Azure portal.

  2. Search for and select Microsoft Defender for Cloud.

  3. In the Defender for Cloud menu, select Environment settings.

  4. Select the relevant Azure subscription, AWS account or GCP project.

  5. On the Defender plans page, switch the Databases plan to On.

    Screenshot that shows you where to select, to enable the databases plan.

Enable specific plans database protections

Enabling database protection activates the following four Defender plans:

  • Defender for Azure SQL databases
  • Defender for SQL server on machines (You can also enable on a Log Analytics workspace)
  • Defender for open-source relational databases
  • Defender for Azure Cosmos DB

These plans protect all supported databases in your subscription.

  1. Sign in to the Azure portal.

  2. Search for and select Microsoft Defender for Cloud.

  3. In the Defender for Cloud menu, select Environment settings.

  4. Select the relevant subscription.

  5. On the Defender plans page, locate the Databases plan and select Select types.

    Screenshot that shows you where to select, select types on the Defender plans page.

  6. In the Resource types selection window, switch the desired plans to On or Off.

    Screenshot that shows the toggle switches for each of the four available plans.

  7. (Optional) Exclude specific database resource types by toggling them to Off.

  8. Select Continue.

  9. Select Save.