Control: Virtual machines should be connected to an approved virtual network
Description
This policy audits any virtual machine connected to a virtual network that is not approved.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.compute_vm_attached_with_network
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.compute_vm_attached_with_network --share
SQL
This control uses a named query:
compute_vm_attached_with_network