Detection: Event Hub Namespace Deleted
Overview
Detect when an Azure Event Hub was deleted. Event Hubs are critical for real-time data streaming and event ingestion, and their deletion can disrupt data pipelines and lead to data loss. Monitoring these events helps ensure the availability and reliability of event streaming services.
References:
Usage
Run the detection in your terminal:
powerpipe detection run azure_activity_log_detections.detection.event_hub_namespace_deleted
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe detection run azure_activity_log_detections.detection.event_hub_namespace_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.EventHub/namespaces/eventhubs/delete' and status = 'Succeeded'
order by timestamp desc;