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

Starred pages

Pages

Page directory · Labels · [ hides this

Object Lock replica

An HKB-owned copy of the organization trail in Log Archive, under S3 Object Lock, so a log can't be deleted or overwritten before its retention ends.

Trail to replica

Organization trail and replicaEvery account's API activity, in every governed Region, goes to the organization trail that Control Tower runs from the management account. The trail delivers log files, encrypted with the Control Tower KMS key, to the trail bucket in Log Archive, which keeps them 365 days. S3 replication copies each object to the HKB-owned replica bucket under S3 Object Lock, 365 days in governance mode, with its own KMS key.Every accountAWS CloudManagementLog Archive · hkb-log-archiveAPI activity inus-east-1 and us-west-2Organization trailrun by Control TowerControl Tower keyencrypts the trailTrail bucket365 days, CT-managedReplication rolereads, decrypts, writesObject Lock replica365 days, governanceReplica keyits ownGovernance mode, and the bucket policy lets nobody bypass it.The replica expires at 366 days, just after the lock lapses.LegendEvent / logAttached / governsBlueOpens its pageeventslog filesencryptsS3 replicationencrypts
Organization trail and replicaOpen full sizeClose

One path for both log stores: the trail delivers to Control Tower's bucket, and S3 replication copies every object into the locked replica.

Configuration

SettingValue
Object LockDefault retention 365 days, governance mode. The template also takes compliance mode, a one-way switch planned for later
SourceThe Control Tower trail bucket, by S3 replication
Replication roleReads the trail bucket and decrypts through S3 with the Control Tower key, which grants it; writes only to the replica
Buckethkb-log-archive-replica-<account>, us-east-1
EncryptionSSE-KMS under the replica's own key
Bucket policyTLS only; writes only by the replication role; nobody may bypass governance retention
Storage and expiryVersioned; Standard storage throughout, expiry at 366 days, just after the lock lapses. No Glacier transition: small log objects cost more there
Hand-run stepsThe replication rule sits on Control Tower's bucket, which only AWSControlTowerExecution may change, so it is set by scripts/hand/log-archive.sh

Sources

  • Templates and scripts: security/hkb-log-archive-protection.yaml, scripts/hand/log-archive.sh
  • Decisions: DQ-75, DQ-91, DQ-92, DQ-93

Page information

Owner
Platform Engineering
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
org/hkb-org-landing-zone.yaml, security, workloads/hkb-site.yaml
Linked from
Log Archive, Organization trail