Skip to content

Files

Latest commit

 

History

History
29 lines (20 loc) · 897 Bytes

azure-securitycenter-defender-on-servers.md

File metadata and controls

29 lines (20 loc) · 897 Bytes

Pattern: Disabled VirtualMachines in Azure Defender

Issue: -

Description

Azure Defender is a cloud workload protection service that utilizes and agent-based deployment to analyze signals from Azure network fabric and the service control plane, to detect threats across all Azure resources. It can also analyze non-Azure resources, utilizing Azure Arc, including those on-premises and in both AWS and GCP (once they've been onboarded).

Resolution: enable VirtualMachines in Azure Defender.

Examples

Example of incorrect code:

resource "azurerm_security_center_subscription_pricing" "bad_example" {
  tier          = "Free"
  resource_type = "AppServices"
}

Example of correct code:

resource "azurerm_security_center_subscription_pricing" "good_example" {
  tier          = "Standard"
  resource_type = "AppServices,VirtualMachines"
}