Evaluates whether deletion protection is enabled for a PolarDB cluster.
Scenarios
Enabling deletion protection for PolarDB prevents business interruptions caused by accidental deletion.
Risk level
Default risk level: medium.
You can adjust the risk level based on your business requirements.
Compliance evaluation logic
- If the deletion protection feature is enabled for the PolarDB cluster, the evaluation result is Compliant.
- If the deletion protection feature is not enabled for the PolarDB cluster, the evaluation result is Incompliant. For more information about how to remediate an incompliant configuration, see the "Incompliance remediation" section of this topic.
Rule details
| Parameter | Description |
| Rule name | polardb-cluster-delete-protection-enabled |
| Rule identifier | polardb-cluster-delete-protection-enabled |
| Tag | PolarDB |
| Automatic remediation | Not supported |
| Trigger type | Configuration change |
| Supported resource type | PolarDB cluster |
| Input parameter | None |
Incompliance remediation
Enable the deletion protection feature for the PolarDB cluster. For more information, see Cluster lock.
该文章对您有帮助吗?