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)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
name_prefix | string | Prefix for resource naming | — | yes |
environment | string | Deployment environment | — | yes |
resource_group_name | string | Resource group name | — | yes |
location | string | Azure region | — | yes |
mode | string | WAF mode (Detection or Prevention) | Prevention | no |
rate_limit | number | Rate limit per minute per IP | 500 | no |
enable_bot_protection | bool | Enable bot protection | true | no |
Outputs (2)
| Name | Description |
|---|---|
policy_id | ID of the WAF policy |
policy_name | Name of the WAF policy |