Evaluates whether each subscription ApsaraDB for MongoDB cluster has more than a specified number of days remaining before expiration. If so, the evaluation result is Compliant.
Scenarios
Ensures that subscription ApsaraDB for MongoDB clusters are renewed on time to prevent business interruptions caused by expired clusters.
Risk level
Default risk level: high.
You can change the risk level based on your business requirements.
Compliance evaluation logic
- If a subscription ApsaraDB for MongoDB cluster has more than the specified number of days remaining before expiration, the evaluation result is Compliant.
- If a subscription ApsaraDB for MongoDB cluster has the specified number of days or fewer remaining before expiration, the evaluation result is Incompliant. For more information about how to remediate an incompliant configuration, see Incompliance remediation.
Rule details
| Item | Description |
| Rule name | mongodb-cluster-expired-check |
| Rule identifier | mongodb-cluster-expired-check |
| Tag | MongoDB and ResourceExpired |
| Automatic remediation | Not supported |
| Trigger type | Configuration change and periodic execution |
| Evaluation frequency | Interval of 24 hours |
| Supported resource type | ApsaraDB for MongoDB instance |
| Input parameter | days. Default value: 30. Unit: days. |
Incompliance remediation
Renew a subscription ApsaraDB for MongoDB cluster before it expires. For more information, seeManually renew a subscription instance.