Check provider logo

ActionTrail is configured to export copies of all log entries across all regions

actiontrail_multi_region_enabled

Severitycritical
by Prowler

Alibaba Cloud ActionTrail records API calls made to your account, including caller identity, time, source IP, request parameters, and response elements. Ensuring a multi-region trail exists guarantees that operations across all regions and global services are captured, enabling detection of unexpected activities in unused regions.

Risk

Without a multi-region trail enabled, API calls made in regions outside the primary trail's scope will not be recorded. This creates blind spots in security analysis, resource change tracking, and compliance auditing, potentially allowing unauthorized or malicious activity to go undetected across your Alibaba Cloud account.

Run this check with Prowler CLI

prowler alibabacloud --checks actiontrail_multi_region_enabled

Recommendation

Enable a multi-region trail in ActionTrail to ensure all API calls across all regions are recorded and delivered to a centralized OSS bucket and SLS project for security analysis and compliance auditing.

Remediation

CLI

aliyun actiontrail CreateTrail --Name <trail_name> --OssBucketName <oss_bucket_for_actiontrail> --RoleName aliyunactiontraildefaultrole --SlsProjectArn <sls_project_arn_for_actiontrail> --SlsWriteRoleArn <sls_role_arn_for_actiontrail> --EventRW <api_type_for_actiontrail>

Terraform
Other
  1. Log on to the ActionTrail Console
  2. Click on Trails in the left navigation pane
  3. Click Add new trail
  4. Enter a trail name in the Trail name box
  5. Set Yes for Apply Trail to All Regions
  6. Specify an OSS bucket name in the OSS bucket box
  7. Specify an SLS project name in the SLS project box
  8. Click Create

Source Code

Resource Type

ALIYUN::ACTIONTRAIL::Trail

References