Skip to content

Azure Event Grid Topic Public Network Access

Description

Code Example

terraform
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 ...
}

Remediation

Terraform

Resource:

  • azurerm_eventgrid_topic

Arguments:

  • public_network_access_enabled

Rule Details

FieldValue
IDIAC-0700
SeverityMEDIUM
IaC Typearm
FrameworksTerraform,
Checkov IDCKV_AZURE_193

References