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 Standard
From PowerShell
Run the following command:
Set-AzSecurityPricing `
-Name "SqlServerVirtualMachines" `
-PricingTier "Standard"