turbot/tailpipe-mod-aws-cloudtrail-log-detections

Detection: SES Identity Feedback Forwarding Disabled

Overview

Detect when an Amazon Simple Email Service (SES) identity had feedback forwarding disabled. Feedback forwarding ensures that bounce and complaint notifications are sent to the email sender, which is critical for monitoring email deliverability and managing sender reputation. Disabling this feature may result in undetected email delivery issues or compromised email sending practices.

References:

Usage

Run the detection in your terminal:

powerpipe detection run aws_cloudtrail_log_detections.detection.ses_identity_feedback_forwarding_disabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe detection run aws_cloudtrail_log_detections.detection.ses_identity_feedback_forwarding_disabled --share

SQL

This detection uses a named query:

select
tp_timestamp as timestamp,
string_split(event_source, '.')[1] || ':' || event_name as operation,
request_parameters ->> 'name' as resource,
user_identity.arn as actor,
tp_source_ip as source_ip,
tp_index as account_id,
aws_region as region,
tp_id as source_id,
*
from
aws_cloudtrail_log
where
event_source = 'ses.amazonaws.com'
and event_name = 'SetIdentityFeedbackForwardingEnabled'
and (request_parameters -> 'forwardingEnabled') = false
and error_code is null
order by
event_time desc;

Tags