Skip to content

Virtual Machine extensions are installed

Description

Ensure that your Microsoft Azure virtual machines (VMs) does not have extensions installed in order to follow your organization's security and compliance requirements. Azure virtual machine extensions are small cloud applications that provide post-deployment configuration and automation tasks for virtual machines. These extensions run with administrative privileges and could potentially access any configuration file or piece of data on a virtual machine.

Fix - Buildtime

Terraform

  • Resource: azurerm_virtual_machine, azurerm_linux_virtual_machine
  • Argument: allow_extension_operations

go azurerm_linux_virtual_machine.example.tf resource "azurerm_linux_virtual_machine" "example" { ... ~ allow_extension_operations=false }