Ensure Azure file sync disables public network access

Error: Azure file sync enables public network access

Bridgecrew Policy ID: BC_AZR_NETWORKING_42
Checkov Check ID: CKV_AZURE_64
Severity: LOW

Azure file sync enables public network access


By ensuring that your Azure file sync is not public, you can help protect your data from unauthorized access or tampering. Public Azure file sync are accessible over the internet, which can make them vulnerable to external threats such as hackers or malware. By making it private, you can help ensure that only authorized users can access the data.

Fix - Buildtime


  • Resource: azurerm_storage_sync
  • Argument: incoming_traffic_policy
resource "azurerm_storage_sync" "test" {
+             incoming_traffic_policy = AllowVirtualNetworksOnly