Review Defender for Cloud protection plans

Review the Defender for Cloud coverage your workloads need together with paid-plan costs.

Description

azurerm_security_center_subscription_pricing sets the Defender for Cloud tier for one resource type in a subscription.

Potential impact

The Free tier may omit protection your workload needs. Standard can add charges for all covered resources of that type.

Remediation

Choose the resource type, subplan and extensions that meet your requirements. Check the affected resources and estimated cost before setting tier = "Standard". After activation, verify coverage and alert collection.

Examples

Both examples omit resource_type. AzureRM 4.50.0 defaults it to VirtualMachines, so the second selects Standard for virtual machines.

Before

hcl
resource "azurerm_security_center_subscription_pricing" "example" {
  tier = "Free"
}

After

hcl
resource "azurerm_security_center_subscription_pricing" "example" {
  tier = "Standard"
}

References