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

Detection: Network Firewall Rule Deleted

Overview

Detect when a rule in an Azure Firewall policy was deleted. Firewall rules are essential for managing traffic flow and enforcing network security, and their deletion can expose resources to unauthorized access or disrupt traffic management. Monitoring these deletions ensures the integrity of your firewall configurations and prevents security gaps.

References:

Usage

Run the detection in your terminal:

powerpipe detection run azure_activity_log_detections.detection.network_firewall_rule_deleted

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe detection run azure_activity_log_detections.detection.network_firewall_rule_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/firewallPolicies/ruleGroups/delete'
and status = 'Succeeded'
order by
timestamp desc;

Tags