Check provider logo

RDS instances are not publicly accessible

rds_public_access

Severitycritical
Servicerds
by Prowler

Ensure that Huawei Cloud Relational Database Service (RDS) instances do not have public IP addresses to prevent direct internet access to databases.

Risk

RDS instances with public IP addresses are accessible from the internet, exposing databases to potential brute-force attacks, SQL injection, and unauthorized data access.

Run this check with Prowler CLI

prowler huaweicloud --checks rds_public_access

Recommendation

Remove public IP addresses from RDS instances and use VPC peering or VPN for access.

Remediation

CLI

hcloud EIP DisassociatePublicips --publicip_id=<eip_id>

Other
  1. Log on to the Huawei Cloud console.
  2. Navigate to Relational Database Service.
  3. Select the instance.
  4. Click More > Unbind EIP.
  5. Confirm the unbinding.

Source Code

Resource Type

NotDefined

References