ActionTrail is configured to export copies of all log entries across all regions
actiontrail_multi_region_enabled
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.
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
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>
- Log on to the ActionTrail Console
- Click on Trails in the left navigation pane
- Click Add new trail
- Enter a trail name in the
Trail namebox - Set Yes for
Apply Trail to All Regions - Specify an OSS bucket name in the
OSS bucketbox - Specify an SLS project name in the
SLS projectbox - Click Create
Source Code
Resource Type
ALIYUN::ACTIONTRAIL::Trail