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

Azure Event Hub Namespace is not zone redundant misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AZURE_228

Category - Subcategory

Storage - Redundancy

Provider

AZURE

Severity

MEDIUM

Framework

Terraform, Terraform Plan

Impact

This rule is checking to ensure that an Azure Event Hub Namespace is set to be zone redundant. Zone redundancy means that data is replicated in multiple availability zones for backup and recovery purposes. If the Event Hub Namespace is not set to be zone redundant, it means that any localized glitch or failure in one zone could result in data loss or application unavailability, therefore leading to potential disruption in service. This can be extremely problematic, especially for mission-critical applications where continuous availability and data integrity are of utmost importance. To prevent this risk, it's essential to ensure redundancy across multiple zones.

How to Fix

Resource: azurerm_eventhub_namespace

  • Arguments: zone_redundant

Make the Azure Event Hub Namespace zone redundant. [source,go]

resource "azurerm_eventhub_namespace" "example" { name = "example-namespace" location = "West US 2" resource_group_name = azurerm_resource_group.example.name sku = "Standard"

  • zone_redundant = true }


Last updated

Was this helpful?