RabbitMQ DLQ Poison-Pill Quarantine and Safe Replay Gate
Drain dead-lettered RabbitMQ messages, classify root causes into transient vs poison pills, safely replay recoverable messages, and isolate toxic payloads to S3.
Audit all CloudTrail trails for disabled logging, missing multi-region coverage, and log validation issues, then alert Slack.
This sentinel periodically enumerates every AWS CloudTrail trail in your account and checks whether each one has
active logging enabled. Trails with IsLogging: false are collected and reported to Slack with their multi-region
and log-file-validation status, giving security and compliance teams immediate visibility into audit-log gaps.
io.kestra.plugin.aws.cli.AwsCLI calls aws cloudtrail describe-trails --include-shadow-trails false to list
all trails owned by the account.aws cloudtrail get-trail-status is called to retrieve IsLogging. The trail's
IsMultiRegionTrail and LogFileValidationEnabled flags are read from the describe output.IsLogging is false are accumulated into a disabled_trails string and issues_found is set
to true.io.kestra.plugin.core.flow.If branches on issues_found. When true, a Slack alert lists the affected
trail names with their multi-region and validation attributes. When false, the flow logs a clean result.errors block fires a Slack alert on any unhandled exception.AWS Config can detect this condition, but it requires a separate service with its own rule lifecycle and SNS notification pipeline. Kestra consolidates describe, status check, conditional branching, and Slack notification into a single auditable flow with namespace-scoped secrets, retries, and full execution lineage.
cloudtrail:DescribeTrails and cloudtrail:GetTrailStatus permissions.AWS_ACCESS_KEY_ID: AWS access key ID.AWS_SECRET_ACCESS_KEY: AWS secret access key.SLACK_WEBHOOK: Slack incoming webhook URL.AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and SLACK_WEBHOOK to your Kestra namespace secrets.aws_region input to your target region (default: us-east-1).aws cloudtrail start-logging --name <arn> to re-enable logging automatically.IsMultiRegionTrail and LogFileValidationEnabled and alert when either is false.Loop.