Immutable solution version
CloudTrail audit: every agent action attributable
Complete solution
Organization CloudTrail in all regions with log file validation, so every API call an agent makes is attributable: who, what, when, from where.
CloudTrail audit for agent operations
The rule
If an agent can call the AWS API, those calls are logged. No automation account runs without CloudTrail.
Setup
- Create an organization trail covering all regions. A regional trail misses the region you forgot.
- Turn on log file validation so tampering with log files is detectable.
- Deliver logs to a dedicated S3 bucket with restricted access: no public access, tight bucket policy, versioning on.
- Protect the log bucket itself: block deletes with Object Lock or MFA delete, and alert on any policy change to the bucket.
Using it
- When something unexpected happens, the first question is CloudTrail: which identity made the call, from which source IP, with what parameters.
- Alert on the high-signal events: ConsoleLogin without MFA, IAM policy changes, CloudTrail configuration changes, and root usage.
- Keep logs long enough to matter. Ninety days in the trail plus archived years in S3 is a sane default.
Evidence
Covers CloudTrail trails across regions, log file validation, and dedicated log delivery buckets. Verified against the live CloudTrail user guide. https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_grvCYavXHlxCnV6AsPu_Zw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">CloudTrail audit: every agent action attributable <span>— Vectle</span></a>