aws.cloudtrail.multi-region-trail
CloudTrail records every region with validated log files
Each AWS account has at least one multi-region trail that is logging, includes global service events, and has log file validation enabled.
Assertion
exists trail t: t.IsMultiRegionTrail and t.IncludeGlobalServiceEvents and t.LogFileValidationEnabled and status(t).IsLoggingRationale
CloudTrail is the record of who did what in the account. A trail that covers one region misses activity an attacker starts somewhere else; one that omits global service events misses IAM changes entirely; one without log file validation can be edited after the fact without anyone knowing. Almost every other detective control depends on this one producing a complete and trustworthy record.
Observation
The collector calls DescribeTrails in each account, including shadow
trails from the organisation, and GetTrailStatus for each result. A trail
qualifies only when all four properties hold at once: multi-region, global
service events included, log file validation enabled, and currently logging.
A trail that exists but has been stopped fails the control; so does an
organisation trail that is configured but not applied to the account.
Remediation
Create or update a trail with --is-multi-region-trail,
--include-global-service-events, and --enable-log-file-validation, then
start it. In an organisation, one organisation trail in the management
account satisfies this control for every member account and is the preferred
shape: member accounts cannot turn it off.