For reliability and compliance purposes, ensure that the retention period configured for SQL audit logs is 6 months or greater. The retention period represents the length of time to keep SQL audit log data recorded for your RDS database instances.
efficiency
excellence
SQL auditing monitors database events and records them in an audit log within the Alibaba Cloud MySQL account. A log data retention period of 6 months or more should allow you to collect the necessary amount of audit data useful to check for anomalies and potential security breaches, or misuse of information and access to your SQL database.
Audit
To determine if your RDS database instances are configured with a sufficient log data retention period, perform the following operations:
Remediation / Resolution
To extend audit log data retention period for your RDS database instances, perform the following operations:
References
- Alibaba Cloud Documentation
- Overview
- SQL Explorer
- SQL Review
- Alibaba Cloud CLI Documentation
- DescribeDBInstances
- DescribeSQLCollectorRetention
- ModifySQLCollectorRetention