Microsoft Antimalware is not configured to automatically update Virtual Machines misconfiguration de
Rule Details
Cortex AppSec Rule ID
APPSEC2_AZURE_10
Category - Subcategory
Compute - Overprovisioned
Provider
AZURE
Severity
LOW
Framework
Terraform, Terraform Plan
Impact
This rule audits any Windows virtual machine not configured with automatic update of Microsoft Antimalware protection signatures.
How to Fix
Resource: azurerm_virtual_machine, azurerm_virtual_machine_extension
Arguments: virtual_machine_id (of * azurerm_virtual_machine_extension* ) [source,go]
{ "resource "azurerm_virtual_machine" "virtual_machine_good_1" { name = "acctvm" location = "location" resource_group_name = "group" network_interface_ids = ["id"] vm_size = "Standard_F2" storage_os_disk { name = "myosdisk1" caching = "ReadWrite" create_option = "FromImage" }
}
resource "azurerm_virtual_machine_extension" "extension_good_1" { name = "hostname"
virtual_machine_id = azurerm_virtual_machine.virtual_machine_good_1.id publisher = "Microsoft.Azure.Security" type = "IaaSAntimalware" type_handler_version = "2.0" auto_upgrade_minor_version = true }
", }
Last updated
Was this helpful?
