TMAegisBeta
More rules for alibaba

Alibaba Cloud

TMA-ALIBABA-2.21

Ensure a log monitoring and alerts are set up for OSS bucket policy changes

MediumLevel 1Manual reviewalibaba

Description

Real-time monitoring of API calls can be achieved by directing ActionTrail Logs to Log Service and establishing corresponding query and alarms. It is recommended that a query and alarm be established for changes to OSS bucket policies. Monitoring changes to OSS bucket policies may reduce time to detect and correct permissive policies on sensitive OSS buckets. Reported as a manual review item: the benchmark audit needs console review or organisational judgement.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

Perform the following steps to ensure log monitoring and alerts are set for OSS bucket policy changes. 1. Logon to SLS Console. 2. Click Log Service Audit Service in the navigation pane to go to the Log Service Audit Service page. 3. Ensure the Action Trail are Enabled under the Access to Cloud Products > Global Configuration page, and click Central Project. 4. Select Alerts. 5.

How it is fixed

Fix method: Guidance or infrastructure patch

Perform the following to ensure the log monitoring and alerts are set up for OSS bucket policy changes. 1. Logon to SLS Console. 2. Click Log Service Audit Service in the navigation pane. 3. Go to Access to Cloud Products > Global Configuration page. a. Select a location of project for logs. b. Check the Action Trail and configure a proper days. c. Click Save to save the changes. 4. Go to Access to Cloud Products > Global Configurations click Central Project. 5. Select Log Management > Actiontrail Log. 6. In the search/analytics console, input below query.

Properties

Operating systems
Any
Tags
alibabalogging
Reference
CIS Alibaba Cloud Foundation Benchmark v2.0.1 - 2.21 Ensure a log monitoring and alerts are set up for OSS bucket policy changes