AWS CloudTrail trail should have global service events enabled

Description

Ensure that an AWS CloudTrail trail has global service events enabled.

Rationale

Easily troubleshoot security issues for global services that aren’t region-specific.

Remediation

From the console

By default, trail logs created in the CloudTrail console log global service events. For more information, see the About global service events docs.

From the command line

  1. Run aws cloudtrail describe-trails

  2. Run update-trail on any returned trail name above to include-global-service-events.

    aws cloudtrail update-trail \
        --name <INSERT-TRAIL-NAME> \
        --include-global-service-events
    

NOTE: The trail must be located in us-east-1 region to include global service events. Enabling global service events automatically updates the trail to be multi-regional.

PREVIEWING: brett0000FF/node-compatibility