Review Defender for Cloud protection plans

Review the required workload protection, coverage and cost together.

Description

Defender for Cloud selects a protection plan by resource type. The Free tier provides basic features, and Standard adds paid protection for the selected plan.

Potential impact

Choosing the wrong plan can leave a workload without required protection or incur charges for features it does not need.

Remediation

Compare the workload’s requirements with its existing protection. Where paid coverage is needed, set pricingTier to Standard for that resource type. Review supported subplans, extensions and estimated costs, then verify coverage.

Examples

These subscription-scope Bicep excerpts use a historical API to change the VirtualMachines plan from Free to Standard. Check current plan options before applying the setting.

Before

bicep
resource securityPricing 'Microsoft.Security/pricings@2017-08-01-preview' = {
  name: 'VirtualMachines'
  properties: {
    pricingTier: 'Free'
  }
}

After

bicep
resource securityPricing 'Microsoft.Security/pricings@2017-08-01-preview' = {
  name: 'VirtualMachines'
  properties: {
    pricingTier: 'Standard'
  }
}

References