Skip to main content
Run any Skill in Manus
with one click

detect-aws-cloudtrail-event-selector-tampering

Stars3
Forks0
UpdatedJuly 6, 2026 at 04:25

Detect AWS CloudTrail `PutEventSelectors` or `UpdateTrail` events that **structurally reduce audit scope** — `IncludeManagementEvents` flipped to false, `ReadWriteType` set to `None`, an empty `EventSelectors` array, or `IsMultiRegionTrail` collapsed from multi-region to single-region. Reads OCSF 1.8 API Activity (class 6003) records produced by `ingest-cloudtrail-ocsf` and emits an OCSF 1.8 Detection Finding (class 2004) tagged with MITRE ATT&CK T1562.001 (Disable or Modify Tools — defense evasion). Use when the user mentions "CloudTrail audit scope narrowed", "PutEventSelectors emptied", "ReadWriteType set to None", "IncludeManagementEvents disabled", or "multi-region trail collapsed". Do NOT use for full `StopLogging` / `DeleteTrail` (covered by `detect-cloudtrail-disabled`), for per-event-selector data-resource subtraction in isolation (requires upstream diff context — see honesty note below), or on raw CloudTrail JSON before OCSF normalization.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
7 files
SKILL.md
readonly