For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

VNET Using External DNS Addresses misconfiguration detected in code

VNET Using External DNS Addresses misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AZURE_183

Category - Subcategory

Public Exposure - VPC VCN VNet

Provider

AZURE

Severity

MEDIUM

Framework

ARM, Bicep, Terraform, Terraform Plan

Impact

Ensure that VNET uses local DNS addresses

How to Fix

Resource:

  • azurerm_virtual_network

Arguments:

  • dns_servers

  • address_space [source,go]


resource "azurerm_virtual_network" "example" { name = "example-network" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name

address_space = ["10.0.0.0/16"]

... other configurations ...

  • dns_servers = ["10.0.0.5"] // Ensure DNS servers are within the VNET's address space }


Last updated

Was this helpful?