0Pricing
AWS Security Academy · Lesson

How EventBridge Routes Security Events

Understand the event bus that connects findings to actions.

How EventBridge Routes Security Events is a free AWS Security Academy lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the AWS Security Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

The Event Bus Idea

Amazon EventBridge is a serverless event bus that connects events from AWS services to targets that act on them.

For security, it is the glue between detection and response: a GuardDuty finding becomes an event, EventBridge routes it, and a target like Lambda automatically remediates — all in seconds.

What an Event Is

An event is a JSON message describing something that happened — a finding raised, a resource changed, an API called.

AWS services emit events automatically. Each carries a source, a detail-type, and a detail object with specifics, which together let you match and route precisely.

{
  "source": "aws.guardduty",
  "detail-type": "GuardDuty Finding",
  "detail": { "severity": 8 }
}

Sources and Buses

Events arrive on an event bus. Every account has a default bus for AWS service events, and you can create custom buses for your own applications or partner integrations.

Separating buses keeps event traffic organized and lets you apply different rules and permissions to different streams.

Rules Route Events

A rule watches a bus and matches events against an event pattern. When an event matches, the rule sends it to one or more targets.

This source-to-target routing is the core of automated security: it decides which findings trigger which responses, without any polling or custom code to listen for events.

Common Security Targets

Rules can deliver matched events to many targets:

  • Lambda functions for custom remediation.
  • SNS topics to notify a team.
  • Step Functions for multi-step workflows.
  • Systems Manager Automation documents.

One event can fan out to several targets at once.

Detection to Response

EventBridge enables the security automation pattern: a detector (GuardDuty, Macie, Config, Security Hub) emits a finding, a rule matches it, and a target remediates or alerts.

This turns manual triage into instant, consistent action, dramatically shrinking the time an attacker has between detection and containment.

Near Real-Time Delivery

EventBridge delivers events in near real time and is fully serverless — no infrastructure to manage and it scales automatically.

This speed is what makes auto-remediation viable: a high-severity finding can lead to an isolated resource within seconds of detection, far faster than any human responder could act.

Cross-Account Events

EventBridge can send events from member accounts to a central security account's bus.

This centralizes detection and response: findings from across an organization land on one bus where shared rules and remediation logic handle them consistently, rather than duplicating automation in every account.

Scheduled and API Events

Beyond service events, EventBridge supports scheduled rules (cron-like) to run periodic security checks, and it captures CloudTrail API events so you can react to specific API calls.

For example, a rule can fire whenever someone disables a security control, triggering an immediate alert.

Input Transformation

EventBridge can transform an event before passing it to a target, reshaping or trimming the JSON so the target receives exactly what it expects.

This lets one finding feed a notification with a friendly message and a remediation Lambda with raw details, without writing glue code to massage the payload in between.

Reliability Features

For robust automation, EventBridge offers retries and a dead-letter queue (DLQ) for events that fail to deliver.

This ensures a transient failure does not silently drop a critical security action — a failed remediation lands in the DLQ for review rather than vanishing unnoticed.

Quick Check

Name EventBridge's role.

Recap

Amazon EventBridge is a serverless event bus that routes events from AWS services to targets using rules and event patterns. It is the link between detection and response: a finding from GuardDuty or Macie matches a rule and triggers a Lambda, SNS, or Step Functions target in near real time. It supports cross-account routing to a security account, scheduled and API-driven rules, and DLQ-backed retries for reliable automation.

Frequently asked questions

Is the “How EventBridge Routes Security Events” lesson free?

Yes — the full text of “How EventBridge Routes Security Events” is free to read here on the web, and the AWS Security Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the AWS Security Academy course, upgrade to CoddyKit PRO.

What will I learn in “How EventBridge Routes Security Events”?

Understand the event bus that connects findings to actions. You practise AWS Security Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start AWS Security Academy?

No prior experience is required. AWS Security Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “How EventBridge Routes Security Events” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this AWS Security Academy lesson?

Yes. Every AWS Security Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. How EventBridge Routes Security Events
  2. Matching Findings with Event Patterns
  3. Triggering Lambda for Auto-Remediation
  4. Orchestrating Responses with Step Functions
← Back to AWS Security Academy