Ensure Azure virtual machine NIC has IP forwarding disabled

Error: Azure virtual machine NIC has IP forwarding enabled

Bridgecrew Policy ID: BC_AZR_NETWORKING_35
Checkov Check ID: CKV_AZURE_118
Severity: LOW

Azure virtual machine NIC has IP forwarding enabled

Description

TBA

Fix - Buildtime

Terraform

  • Resource:azurerm_network_interface
  • Argument: enable_ip_forwarding
resource "azurerm_network_interface" "example" {
                  ...
 +                enable_ip_forwarding = false
                }

Did this page help you?