Databases must not be publicly accessible

Critical Cross-cloud General sql-no-public-access-2

Applies to

  • Microsoft.Sql/servers
  • AWS::RDS::DBInstance
  • AWS::Redshift::Cluster

What CGPulse checks

A resource passes this rule when publicNetworkAccess must equal Disabled OR publiclyAccessible must equal false. Anything else is reported as a finding with the evaluated property value attached as evidence.

How to fix it

Disable public network access for databases and use private endpoints or VPC. See: https://learn.microsoft.com/en-us/azure/azure-sql/database/connectivity-settings#deny-public-network-access

Compliance frameworks

Is your environment compliant with this rule?

CGPulse checks it — and 621 others — against your Azure and AWS accounts with read-only access.

Run a free scan

Related Cross-cloud rules

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.