All Modules
AzureSecurity

WAF

Web Application Firewall policy with OWASP rules, rate limiting, and bot protection

Usage

module "waf" {
  source = "github.com/fencepencil/fencepencil-azure-modules//waf"

  name_prefix = "<name_prefix>"
  environment = "<environment>"
  resource_group_name = "<resource_group_name>"
  location = "<location>"

  tags = var.tags
}

Inputs (7)

NameTypeDescriptionDefaultRequired
name_prefixstringPrefix for resource namingyes
environmentstringDeployment environmentyes
resource_group_namestringResource group nameyes
locationstringAzure regionyes
modestringWAF mode (Detection or Prevention)Preventionno
rate_limitnumberRate limit per minute per IP500no
enable_bot_protectionboolEnable bot protectiontrueno

Outputs (2)

NameDescription
policy_idID of the WAF policy
policy_nameName of the WAF policy

More Azure Modules

Browse our full library of Azure infrastructure modules.

View all Azure modules