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

Starred pages

Pages

Page directory · Labels · [ hides this

account root / Security OU

Log Archive

Log Archive keeps the organization's CloudTrail logs, away from the accounts that produce them. One organization trail writes every account's API activity here.

A second copy sits in an S3 bucket with Object Lock (governance mode, 365 days) and its own KMS key. Nobody in another account can quietly delete the record.

Log stores

Each has its own page, with its configuration as deployed.

Components

Log Archive account diagramThe Log Archive account in the AWS Cloud. Control Tower's organization trail, owned by the management account, delivers every account's API activity to a bucket here, encrypted with the Control Tower key. A replication rule copies every new object to a replica bucket under Object Lock for 365 days, encrypted with a key held in this account. The Prod site's CloudFront access logs arrive in a third bucket under their own key and expire at 30 days.AWS CloudLog Archive · hkb-log-archiveroot / Security OUGlobal servicesus-east-1 · home RegionOrganization trail · Control TowerImmutable copy · hkb-log-archive-protectionDeliveryAlso in this account, not drawnSite access logs · hkb-log-archive-site-logsManagementSecurityShared ServicesEvery accountAPI activityHKB roles, each under an HKB boundaryhkb-log-archive-replicationcopies to the replicahkb-events-forwarderforwards eventshkb-baseline-account-settingsaccount baselinehkb-scannerProwler, read onlyTrail bucket365 daysControl Tower keyheld in ManagementReplica bucketObject Lock, 365 daysReplica keyheld in this accountGovernance mode; expires at 366 days; no storage transitionAccess-log bucketserver access logsDelivery noticesControl Tower topicParameter Store /hkb/ catalogAccount-settings LambdaConfig recorder, Control Tower'sus-west-2: event forwarders, EBS encryptionFrom ProdCloudFront logging v2Site logs bucketJSON, 30 daysSite logs keyheld in this accountRead by HKB-ReadOnly and the traffic job in Prod; deletes denied before expiryOrg trailControl Tower owns itEvent busalerts by emailStackSetsthe baselineLegend1Request or run orderEvent / logRequest / dataAttached / governsBlueOpens its pageorg trail1encryptsreplicates2encryptsdeliversencryptssecurity events
Log Archive account diagramOpen full sizeClose

The numbers trace one API call: the organization trail delivers it from any account to the trail bucket here (1), and the replication rule copies it to the replica (2), where Object Lock keeps it for a year. Control Tower in the management account owns the trail.

Preventive controls

9 SCPs and RCPs apply, inherited through the OU path.

  • SCP-01Deny leaving the org, closing accounts and changing account contact or billing settingsPASS
  • SCP-03Protect the security baseline: no stopping or deleting CloudTrail, Config, GuardDuty, Security Hub or Access Analyzer; hkb-baseline-* roles and stacks changed only by the StackSets execution role; IMDSv2 required at launch, with no switching back afterwardsPASS
  • SCP-04No long-lived credentials: no IAM users, access keys or console passwordsPASS
  • SCP-05Data protection: account-level S3 Block Public Access can't be weakened; KMS keys are deleted only by the pipeline and AWS-managed deployment rolesPASS
  • SCP-06AI allowlist: Bedrock only in the Workloads and Sandbox OUs, approved models only, no provisioned throughput or customizationPASS
  • SCP-07Cost guardrails: EC2 and NAT only in Workloads and Sandbox, instance-type allowlist, no OpenSearch Serverless, reserved purchases or Marketplace subscriptionsPASS
  • SCP-09Deny all root-user actions except task-scoped root sessionsPASS
  • RCP-01Data perimeter: S3, KMS, Secrets Manager and STS deny principals outside the org; AWS service principals exemptPASS
  • RCP-02Deny non-TLS requests to S3, KMS and Secrets ManagerPASS

Principals

0 IAM users. 3 Identity Center permission sets, 4 IAM roles, parsed from the templates. Org-wide view: access matrix.

Permission sets

  • HKB-ReadOnlyDaily visibility (ViewOnlyAccess and SecurityAudit, plus the reads the verifier and change-set reviews need)8 h sessions
  • HKB-SupportOpen and manage AWS Support cases, nothing else1 h sessions
  • HKB-SecurityOpsInvestigate and respond to findings. SecurityAudit plus finding workflow; log reads; no log deletion or unlock.4 h sessions

IAM roles

  • hkb-baseline-account-settingsExecution role of the hkb-baseline-account-settings function. Sets EBS default encryption, the IAM password policy, two Systems Manager settings and VPC Block Public Access, nothing else.boundary hkb-pipeline-boundary
  • hkb-events-forwarderEventBridge forwarder. Puts the security events these rules match onto the central bus in Security, and nothing else.boundary hkb-pipeline-boundary
  • hkb-scannerProwler's read-only scanner role. Taken on only by hkb-tool-prowler in Security; reads the account and imports failed findings to Security Hub.boundary hkb-scanner-boundary
  • hkb-log-archive-replicationS3 replication from the Control Tower trail bucket to the Object Lock replica.boundary hkb-workload-boundary

Control test coverage

Cost

$4.25 in 2026-11 to date. Org-wide cost.

As-built record: the account's scope and current state, as kept in the repository.

Sources: D42, DQ-157, DQ-79, DQ-130, D72

Page information

Owner
Platform Engineering
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
site/content/accounts.md, HKB Log Archive Account.md
Linked from
Architecture, Management, As-built record, Security, Shared Services, Prod and 23 more