Protocol and deployment notes · Deployment

Governed log streams

On this pageAWS EventBridge

Atlas exports already verified audit projections through the standard /api/v1/logStreams API. The audit log remains authoritative; a destination is only a durable, tenant-bound delivery channel.

AWS EventBridge

The compatibility field eventSourceName names an AWS custom event bus. Atlas does not trust that name by itself. Before probing or publishing, it resolves the bus and requires the returned ARN to match the configured AWS partition, region, 12-digit account, and bus name exactly. The account must also appear in ATLAS_LOG_STREAMS_AWS_ACCOUNT_IDS.

Each entry uses source atlas.audit, detail type Atlas Audit Event, and a bounded JSON detail containing the stable Atlas delivery ID and authoritative audit-event ID. A partial PutEvents response, a missing AWS event ID, an ARN mismatch, an array/scalar detail, or an oversized detail fails closed. Delivery is retryable and downstream consumers should deduplicate on deliveryId.

The production-shaped AWS deployment does not expose EC2 instance metadata to pods and does not store AWS access keys in Kubernetes. A non-root, pod-local AWS IAM Roles Anywhere helper exchanges an auto-rotated X.509 workload certificate for 15-minute credentials. The IAM trust policy binds the exact trust anchor and certificate subject api-gateway.rolesanywhere.atlas; the IAM role and Roles Anywhere session policy independently restrict access to events:DescribeEventBus and events:PutEvents on the one governed bus.

Relevant automation:

  • scripts/deploy/deploy-pf90-eventbridge-logstream.sh deploys the expiry-controlled bus and certificate-federated AWS authority.
  • scripts/deploy/release-pf90-eventbridge-runtime.sh --plan binds the checked-in release, live stack outputs, immutable image digests, source hashes, current CloudFormation template, and ECR scans without changing the cluster.
  • scripts/deploy/release-pf90-eventbridge-runtime.sh --apply mounts the rotating certificate, applies the environment-rendered declarative patch, rolls both API replicas, rejects live drift, and probes the standard Atlas routes.
  • scripts/deploy/release-pf90-eventbridge-runtime.sh --rollback removes only the optional helper, EventBridge enablement, certificate volume, and pod-local metadata endpoint. It preserves the governed log-stream integrity authority and requires both API replicas and all standard routes to remain healthy.
  • scripts/deploy/release-pf90-eventbridge-runtime.sh --verify performs the same live desired-state checks without mutation.
  • scripts/test/run-pf90-eventbridge-logstream-validation.sh publishes with the source-built adapter, verifies the same delivery ID at an independent SQS witness, and deletes the temporary rule, queue, and job.

This validates Atlas transport and AWS receipt. External SOC operation, customer retention, alert response, and accreditation remain separate acceptance gates.