Remediation
From Azure Portal
- Go to
Microsoft Defender for Cloud. - Under
Management, selectEnvironment Settings. - Click the name of a subscription.
- Select the
Defender plansblade. - Under
Cloud Security Posture Management (CSPM), in the row forDefender CSPM, set the toggle switch forStatustoOn. - Click
Save.
From Azure CLI
Run the following command to enable Defender CSPM:
az security pricing create \
--name CloudPosture \
--tier Standard \
--extensions name=ApiPosture isEnabled=true
From PowerShell
Run the following command to enable Defender CSPM:
Set-AzSecurityPricing `
-Name CloudPosture `
-PricingTier Standard `
-Extension '[{"name":"ApiPosture","isEnabled":"True"}]'