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

Azure Event Grid Topic Public Network Access misconfiguration detected in code

Azure Event Grid Topic Public Network Access misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AZURE_193

Category - Subcategory

Public Exposure - APIs

Provider

AZURE

Severity

MEDIUM

Framework

ARM, Bicep, Terraform, Terraform Plan

Impact

Ensure public network access is disabled for Azure Event Grid Topic

How to Fix

Resource:

  • azurerm_eventgrid_topic

Arguments:

  • public_network_access_enabled [source,go]


resource "azurerm_eventgrid_topic" "example" { name = "example-topic" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name

... other configurations ...

  • public_network_access_enabled = false

... other configurations ...

}

Last updated

Was this helpful?