Evaluates whether an ApsaraDB RDS instance has a public endpoint. An instance without a public endpoint is considered compliant.
Scenarios
- Accessing an ApsaraDB RDS instance from an Elastic Compute Service (ECS) instance in a different region or with a different network type.
- Accessing an ApsaraDB RDS instance from a device outside Alibaba Cloud.
Risk level
Default risk level: high.
You can change the risk level when you apply this rule.
Compliance evaluation logic
- If the ApsaraDB RDS instance does not have a public endpoint in use, the configuration is considered compliant.
- An ApsaraDB RDS instance is non-compliant if it has a public endpoint. For remediation steps, see Remediation.
Rule details
| Item | Description |
| Rule name | rds-public-access-check |
| Rule ID | rds-public-access-check |
| Tag | RDS |
| Automatic remediation | Supported |
| Trigger type | Configuration change |
| Supported resource type | ApsaraDB RDS instance |
| Input parameter | None |
Non-compliance remediation
Release the public endpoint of the ApsaraDB RDS instance. For more information, see Release a public endpoint.
Ignore evaluation results
If your business requires a public endpoint on an ApsaraDB RDS instance, you can ignore the non-compliant resource on the rule details page to exclude it from non-compliance statistics. This only affects how compliance results are displayed and does not change the resource configuration.
-
Log on to the Configuration Audit console.
-
In the left-side navigation pane, choose .
-
In the rule list, click the rule name to open its details page.
-
In the list of evaluation results, select the non-compliant resource that you want to ignore, and then click Ignore.
-
In the Ignore Evaluation Result dialog box, configure the following parameters:
-
Automatic Recovery Time: Select how long to ignore the resource.
-
Ignored Reason: Enter the reason for ignoring this resource.
-
-
Click OK.
After the setting is applied, the compliance status of the resource changes from non-compliant to Ignored, and the resource is excluded from non-compliance counts. To resume evaluation, select the ignored resource and click Revert. The resource reverts to non-compliant status and is included in compliance evaluations again.