Overview
|
|
| Name |
policy |
| Tag |
2026.8.25.4 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/applicationgateway/waf/policy:2026.8.25.4 |
| Last updated |
2026-08-25 10:36:23:+00:00 |
| Created |
2026-08-25 10:36:23:+00:00 |
| Digest |
sha256:9ba76d248e5cbbd3e56351000b8263aaff5f182a49edd44f7c418faa896c2128 |
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.8.25.4' = {
name: 'policy${env}${version}'
params: {
wafName: wafName
}
}