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

Firewall policy does not have IDPS mode set to deny misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AZURE_220

Category - Subcategory

Public Exposure - Ingress Controls

Provider

AZURE

Severity

HIGH

Framework

Terraform, Terraform Plan

Impact

This rule is assessing whether a firewall policy in Azure has the Intrusion Detection and Prevention System (IDPS) mode set to 'deny'. The IDPS is crucial for network security as it actively monitors for suspicious activities or policy violations and takes steps to prevent them. If the IDPS mode is not set to 'deny', it could leave the network vulnerable to potential threats or attacks. Setting the IDPS mode to 'deny' thus enhances security by automatically blocking any detected intrusions, thereby minimizing potential damage.

How to Fix

Resource: azurerm_firewall_policy

  • Arguments: intrusion_detection.mode

[source,go]

resource "azurerm_firewall_policy" "pass" { name = "pass" resource_group_name = azurerm_resource_group.example.name location = azurerm_resource_group.example.location intrusion_detection {

  • mode = "Deny" } }----

Last updated

Was this helpful?