Ensure RDS Instance Retention Period is Recommended
DBInstanceParameterGroup is used to modify the parameters of an ApsaraDB RDS instance. The sql collector status of the instance. Valid values are Enabled, Disabled, Default to Disabled. The sql collector keep time of the instance. Valid values are 30, 180, 365, 1095, 1825, Default to 30.
Risk Level: medium
Platform: Alicloud
Spectral Rule ID: TFALCLD045
REMEDIATION
set sql_collector_status
to 'Enabled' and sql_collector_config_value
to greater than 180
- sql_collector_status = "Disabled"
+ sql_collector_status = "Enabled"
- sql_collector_config_value = 30
+ sql_collector_config_value = 180
Read more:
Updated over 1 year ago