Information
Enable Microsoft Defender CSPM to continuously assess cloud resources for security misconfigurations, compliance risks, and exposure to threats.
Microsoft Defender CSPM provides detailed visibility into the security state of assets and workloads and offers hardening guidance to help improve security posture.
Solution
Remediate from Azure Portal
- Go to Microsoft Defender for Cloud.
- Under Management, click Environment settings.
- Click the name of a subscription.
- Select the Defender plans blade.
- Under Cloud Security Posture Management (CSPM), in the row for Defender CSPM, set the toggle switch for Status to On.
- Click Save.
Remediate from Azure CLI
Run the following command to enable Defender CSPM:
az security pricing create --name CloudPosture --tier Standard --extensions name=ApiPosture isEnabled=true
Remediate from PowerShell
Run the following command to enable Defender CSPM:
Set-AzSecurityPricing -Name CloudPosture -PricingTier Standard -Extension '[{"name":"ApiPosture","isEnabled":"True"}]'
Impact:
Enabling Microsoft Defender CSPM incurs hourly charges for each billable compute, database, and storage resource. This can lead to significant costs in larger environments. Careful planning and cost analysis are recommended before enabling the service. Refer to https://azure.microsoft.com/en-us/pricing/details/defender-for-cloud/#pricing for pricing information.