Detection: Network Virtual Network Deleted
Overview
Detect when an Azure Virtual Network (VNet) was deleted. Virtual Networks are critical for resource connectivity and network segmentation in Azure, and their deletion can disrupt operations and expose resources to connectivity issues. Monitoring these deletions helps ensure the stability and security of your network infrastructure.
References:
Usage
Run the detection in your terminal:
powerpipe detection run azure_activity_log_detections.detection.network_virtual_network_deleted
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe detection run azure_activity_log_detections.detection.network_virtual_network_deleted --share
SQL
This detection uses a named query:
select tp_timestamp as timestamp,operation_name as operation,resource_id as resource,caller as actor,tp_index::varchar as subscription_id,resource_group_name as resource_group,tp_id as source_id,status as event_status,*
from azure_activity_logwhere operation_name = 'Microsoft.Network/virtualNetworks/delete' and status = 'Succeeded'
order by timestamp desc;