Check ID:
Provider: Azure
Service:
Severity: HIGH
Categories:
Resource type:
defender_ensure_defender_for_databases_is_onProvider: Azure
Service:
defenderSeverity: HIGH
Categories:
vulnerabilitiesResource type:
microsoft.security/pricingsWhat this check verifies
Azure subscription is evaluated for Defender for Databases coverage:Standard pricing must be enabled for SqlServers, SqlServerVirtualMachines, OpenSourceRelationalDatabases, and CosmosDbs.
Risk
Without this coverage, database workloads lack advanced threat detection, vulnerability assessment, and behavior analytics. Attacks like credential brute force, SQL injection, privilege abuse, and data exfiltration can go undetected, threatening confidentiality, integrity, and availability.Recommendation
Enable Defender for Databases at theStandard tier for all supported database types across subscriptions. Integrate alerts with monitoring, automate response, and enforce least privilege and network segmentation for defense in depth. Use policy to maintain continuous coverage for new resources.
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
Enable all Defender for Databases plans (must run each command separately)
az security pricing create —name SqlServers —tier Standard az security pricing create —name SqlServerVirtualMachines —tier Standard az security pricing create —name OpenSourceRelationalDatabases —tier Standard az security pricing create —name CosmosDbs —tier StandardReferences
- https://learn.microsoft.com/en-us/azure/defender-for-cloud/tutorial-enable-databases-plan
- https://support.icompaas.com/support/solutions/articles/62000229826-ensure-that-microsoft-defender-for-databases-is-set-to-on-
Where this check fires
This check runs on every scheduled scan against your Azure account. Findings appear at Cloud Security → Findings filterable byCheck ID = defender_ensure_defender_for_databases_is_on. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Azure checks