Checks whether the default_time_zone parameter of a PolarDB cluster is set to a value other than System.
Scenarios
Setting an explicit time zone for your PolarDB cluster ensures consistent configurations across nodes and prevents issues caused by mismatched time zone settings.
Risk level
Default risk level: High.
You can change the risk level for this rule as needed.
Detection logic
-
A PolarDB cluster is considered compliant if its
default_time_zoneparameter is not set toSystem. -
A PolarDB cluster is considered non-compliant if its
default_time_zoneparameter is set toSystem.
Rule details
|
Parameter |
Description |
|
Rule name |
The default_time_zone parameter for a PolarDB cluster is not set to System |
|
Rule identifier |
polardb-cluster-default-time-zone-not-system |
|
Tag |
PolarDB |
|
Automatic remediation |
Not supported |
|
Rule trigger mechanism |
Periodic execution |
|
Trigger frequency |
24 hours |
|
Supported resource types |
PolarDB cluster |
|
Rule input parameters |
None |
Remediation
Set the default_time_zone parameter of the PolarDB cluster to a value other than System. For more information, see Set cluster and node parameters.