Ensure Azure Cognitive Search disables public network access

Error: Azure Cognitive Search does not disable public network access

Bridgecrew Policy ID: BC_AZR_NETWORKING_41
Checkov Check ID: CKV_AZURE_124
Severity: LOW

Azure Cognitive Search does not disable public network access

Description

It is more secure for Azure backend services to be accessed through Private Link rather than public internet access.

Fix - Buildtime

Terraform

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

Did this page help you?