turbot/tailpipe-mod-azure-activity-log-detections

Detection: Network Firewall Deleted

Overview

Detect when an Azure Firewall was deleted. Azure Firewalls provide essential network security by controlling traffic flow and preventing unauthorized access. Monitoring these deletions helps ensure the continued protection of your network and prevents disruptions caused by the removal of critical security components.

References:

Usage

Run the detection in your terminal:

powerpipe detection run azure_activity_log_detections.detection.network_firewall_deleted

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe detection run azure_activity_log_detections.detection.network_firewall_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_log
where
operation_name = 'Microsoft.Network/azureFirewalls/delete'
and status = 'Succeeded'
order by
timestamp desc;

Tags