🛡️ Azure Subscription Microsoft Defender For SQL Servers On Machines is not set to On🟢
- Contextual name: 🛡️ Microsoft Defender For SQL Servers On Machines is not set to On🟢
- ID:
/ce/ca/azure/subscription/microsoft-defender-for-sql-servers - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logic
Similar Policies
- Cloud Conformity: Enable Microsoft Defender for Cloud for SQL Server Virtual Machines
- Internal:
dec-x-fafadacd
Similar Internal Rules
| Rule | Policies | Flags |
|---|---|---|
| ✉️ dec-x-fafadacd | 1 |
Description
Description
Turning on Microsoft Defender for SQL servers on machines enables threat detection for SQL servers on machines, providing threat intelligence, anomaly detection, and behavior analytics in Microsoft Defender for Cloud.
Rationale
Enabling Microsoft Defender for SQL servers on machines allows for greater defense-in-depth, functionality for discovering and classifying sensitive data, surfacing and mitigating potential database vulnerabilities, and detecting anomalous activities that could indicate a threat to your database.
Impact
Turning on Microsoft Defender for SQL servers on machines incurs an additional cost per resource.
Audit
This policy flags an Azure Subscription as
INCOMPLIANTif the relatedAzure Defender Planfor SQL Servers on Virtual Machines has itsPricing Tierset to Free.A Subscription is also marked as
INCOMPLIANTif theDefender Planfor SQL Servers on Virtual Machines does not exist in the CMDB.Default Value
By default, Microsoft Defender plan is
off.... see more
Remediation
Remediation
From Azure Portal
- Go to
Microsoft Defender for Cloud.- Under
Management, selectEnvironment Settings.- Click on the subscription name.
- Select the
Defender plansblade.- Click
Select types >in the row forDatabases.- Set the toggle switch next to
SQL servers on machinestoOn.- Select
Continue.- Select
Save.From Azure CLI
Run the following command:
az security pricing create \
-n SqlServerVirtualMachines \
--tier StandardFrom PowerShell
Run the following command:
Set-AzSecurityPricing `
-Name "SqlServerVirtualMachines" `
-PricingTier "Standard"