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

Detection: Front Door Firewall Policy Deleted

Overview

Detect when an Azure Front Door firewall policy was deleted. Firewall policies are critical for protecting web applications from malicious traffic and managing access controls. Monitoring these deletions helps ensure continuous protection against security threats and prevents unauthorized or accidental removal of policies.

References:

Usage

Run the detection in your terminal:

powerpipe detection run azure_activity_log_detections.detection.front_door_firewall_policy_deleted

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe detection run azure_activity_log_detections.detection.front_door_firewall_policy_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/frontdoorWebApplicationFirewallPolicies/delete'
and status = 'Succeeded'
order by
timestamp DESC;

Tags