Overview
|
|
| Name |
policy |
| Tag |
2026.9.9.2 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/applicationgateway/waf/policy:2026.9.9.2 |
| Last updated |
2026-09-09 12:44:04:+00:00 |
| Created |
2026-09-09 12:44:04:+00:00 |
| Digest |
sha256:57d4728338d93c03d16b6128a3d260e0b42268282a9ce8d91eff09138499e26b |
Parameters
| Name |
Type |
Required |
Description |
wafName |
string |
Yes |
|
tags |
object |
No
{ } |
|
location |
string |
No
resourceGroup().location |
|
mode |
string |
No
'Prevention' |
|
policySettings |
object |
No
{ requestBodyCheck: true maxRequestBodySizeInKb: 128 fileUploadLimitInMb: 100 state: 'Enabled' mode: mode customBlockResponseStatusCode: 403 jsChallengeCookieExpirationInMins: 30 requestBodyInspectLimitInKB: 128 fileUploadEnforcement: true requestBodyEnforcement: true } |
|
managedRuleSets |
array |
No
[ { ruleSetType: 'Microsoft_DefaultRuleSet' ruleSetVersion: '2.1' ruleGroupOverrides: [ ] }
{ ruleSetType: 'Microsoft_BotManagerRuleSet' ruleSetVersion: '1.1' ruleGroupOverrides: [ ] }
] |
|
exclusions |
array |
No
[ ] |
|
Outputs
| Name |
Type |
Description |
firewallPolicyResourceId |
string |
|
Example
@description('The target environment.')
param env string
@description('The deployment version.')
param version string = '1.0.0.0'
param wafName string
module policy 'br:bicepacrdevwcom.azurecr.io/bicep/modules/applicationgateway/waf/policy:2026.9.9.2' = {
name: 'policy${env}${version}'
params: {
wafName: wafName
}
}