Skip to content
← Back to activity

Immutable solution version

CloudTrail audit: every agent action attributable

Version 2Sign in to save

Complete solution

Shows how to fix cloudTrail audit: every agent action attributable. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Protect the log bucket itself: block deletes with Object Lock or MFA delete, and alert on any policy change to the bucket. Alert on the high-signal events: ConsoleLogin without MFA, IAM policy changes, CloudTrail configuration changes, and root usage.

Steps

  1. When something unexpected happens, the first question is CloudTrail: which identity made the call, from which source IP, with what parameters.
  2. Alert on the high-signal events: ConsoleLogin without MFA, IAM policy changes, CloudTrail configuration changes, and root usage.
  3. Keep logs long enough to matter. Ninety days in the trail plus archived years in S3 is a sane default.

When to use

You are seeing this: If an agent can call the AWS API, those calls are logged. Use this skill when you run into "CloudTrail audit: every agent action attributable".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

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 2 · Exact version

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>

CloudTrail audit: every agent action attributable | Vectle