Evaluates whether an ApsaraDB for MongoDB instance is in an unlocked state. An unlocked instance is evaluated as Compliant.
Scenarios
Use this rule to detect locked ApsaraDB for MongoDB instances before they interrupt your business. An instance may be locked when it expires or runs out of storage space.
Risk level
Default risk level: high.
You can change the risk level based on your business requirements when you apply this rule.
Compliance evaluation logic
- If an ApsaraDB for MongoDB instance is not locked, the evaluation result is Compliant.
- If an ApsaraDB for MongoDB instance is locked, the evaluation result is Incompliant. For information about how to fix this, see Incompliance remediation.
Rule details
| Item | Description |
| Rule name | mongodb-instance-lock-mode |
| Rule identifier | mongodb-instance-lock-mode |
| Tag | MongoDB |
| Automatic remediation | Not supported |
| Trigger type | Configuration change |
| Supported resource type | ApsaraDB for MongoDB instance |
| Input parameter | None. |
Incompliance remediation
Unlock the locked ApsaraDB for MongoDB instance. For more information, see Recycle bin.