Overcast is alpha — behaviour and APIs may change between releases. Pin your version and read the changelog before upgrading.

overcast

CloudTrail — AWS CloudTrail

Quick start, the trail, logging-state and CloudFormation coverage, and why every operation is inert: nothing is recorded, delivered or looked up.

Trail metadata and logging state exist so a stack that declares a trail deploys. Nothing is ever audited: no events are recorded and none are delivered.

Status: ⚠️ Partial

Quick start

export AWS_ENDPOINT_URL=http://localhost:4566
aws s3 mb s3://audit
aws cloudtrail create-trail --name main --s3-bucket-name audit
aws cloudtrail start-logging --name main
aws cloudtrail get-trail-status --name main

Any credentials work; with none configured, run eval "$(overcast env)" first — see Using AWS SDKs and CLI.

What works

AreaBehaviour
TrailsCreate, describe, list, update and delete, with tags applied inline at creation
Logging stateStartLogging and StopLogging toggle the flag GetTrailStatus reports
TaggingAddTags, RemoveTags and ListTags on trail ARNs
CloudFormationAWS::CloudTrail::Trail provisions, updates, deletes and syncs tags
ProtocolsAWS JSON 1.0 and Smithy RPC v2 CBOR

Differences from AWS

AreaOn AWSOvercast
Event ingestionEvery API call is recordedNone is recorded anywhere
LookupEventsReturns the matching eventsAlways an empty Events list, whatever the filters
S3 deliveryLog files are written to the trail’s bucketNo log file is ever written
Event data stores, channels, InsightsFull APINot emulated; tagging operations accept trail ARNs only
Region scopingA trail belongs to its home regionTrails are global to the emulator; HomeRegion always reports the configured default region

Gotchas

Note

Every CloudTrail operation is 🧊 Inert: the call is accepted and answered correctly, and nothing happens as a result. A stack that requires CloudTrail control-plane calls deploys; nothing it does is audited.

Operations

All 12 listed operations are implemented. Per-operation status, notes and AWS API links: CloudTrail operations.