Ensure PostgreSQL server disables public network access

Error: PostgreSQL server does not disable public network access

Bridgecrew Policy ID: BC_AZR_NETWORKING_20
Checkov Check ID: CKV_AZURE_68
Severity: LOW

PostgreSQL server does not disable public network access

Description

TBA

Fix - Buildtime

Terraform

  • Resource: azurerm_postgresql_server
  • Argument: public_network_access_enabled
resource "azurerm_postgresql_server" "example" {
              ...
+             public_network_access_enabled    = false
              ...
            }

Did this page help you?