latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

Management account alerts

SCPs and RCPs can't restrict a management account, so HKB watches it instead. 8 EventBridge rules email the security mailbox on the actions that matter most here.

Flow

Management account alerts flowAn action in the management account, such as a root sign-in, a policy change or a sign-in as HKB-MasterAdmin, is recorded by CloudTrail as a management event on the default event bus in us-east-1. 8 EventBridge rules match the events that matter: hkb-alert-root-console-login, hkb-alert-assume-root, hkb-alert-org-policy-change, hkb-alert-route53domains-change, hkb-alert-identity-center-change, hkb-alert-controltower-landing-zone, hkb-alert-masteradmin-console, hkb-alert-masteradmin-writes. Each rewrites its event into one line and publishes it to the hkb-master-alerts SNS topic, encrypted with its own KMS key, which emails the security mailbox.AWS CloudManagement · us-east-18 EventBridge rulesRoot or adminacts hereCloudTrailmanagement eventsDefault event busus-east-1hkb-alert-root-console-loginhkb-alert-assume-roothkb-alert-org-policy-changehkb-alert-route53domains-changehkb-alert-identity-center-changehkb-alert-controltower-landing-zonehkb-alert-masteradmin-consolehkb-alert-masteradmin-writeshkb-master-alertsown KMS keySecurity mailboxemailone lineSCPs and RCPs can't restrict a management account, so these rules watch it instead.Legend1Request or run orderRequest / dataEvent / logBlueOpens its pageAPI call1every event2matches34email5
Management account alerts flowOpen full sizeClose

The numbers trace one alert, from the action to the email.

Configuration

SettingValue
SourceCloudTrail management events on the default event bus in us-east-1, where global services such as IAM, Organizations and Identity Center deliver theirs. They arrive whether or not a trail is configured; the organization trail is the audit record
Topichkb-master-alerts, encrypted under its own KMS key with rotation on; only EventBridge in this account may publish
MessageEach rule rewrites its event into one line: what happened, when, by whom and from where
DestinationOne email subscription. The address is passed at deploy time and never committed

Rules

RuleMatches
hkb-alert-root-console-loginAny root user console sign-in, successful or not
hkb-alert-assume-rootsts:AssumeRoot (centralized root sessions into member accounts)
hkb-alert-org-policy-changeOrganizations policy attach, detach, update or delete (SCPs, RCPs and others)
hkb-alert-route53domains-changeAny state-changing Route 53 Domains call
hkb-alert-identity-center-changeIdentity Center permission set and assignment changes
hkb-alert-controltower-landing-zoneControl Tower landing zone create, update, reset or delete
hkb-alert-masteradmin-consoleConsole sign-in as the HKB-MasterAdmin permission set (full admin on master)
hkb-alert-masteradmin-writesDirect write API calls (CLI or console) by an HKB-MasterAdmin session in us-east-1 and global services. Calls made by services on its behalf (invokedBy set, e.g. CloudFormation) are excluded. Replaces the GetRoleCredentials rule, which EventBridge never receives (read-only IdentityCenterUser service event; verified 2026-10-05)

Each rule's runbook has its symptoms, checks and resolution.

Sources

  • Templates and scripts: security/hkb-security-master-alerts.yaml
  • Decisions: DQ-63, DQ-80

Page information

Owner
Platform Engineering
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
security/hkb-security-master-alerts.yaml
Linked from
Management