diff --git a/internal/services/network/web_application_firewall_policy_resource.go b/internal/services/network/web_application_firewall_policy_resource.go index 05819b205a58..058268472cfb 100644 --- a/internal/services/network/web_application_firewall_policy_resource.go +++ b/internal/services/network/web_application_firewall_policy_resource.go @@ -338,6 +338,7 @@ func resourceWebApplicationFirewallPolicy() *pluginsdk.Resource { string(webapplicationfirewallpolicies.ActionTypeAllow), string(webapplicationfirewallpolicies.ActionTypeAnomalyScoring), string(webapplicationfirewallpolicies.ActionTypeBlock), + string(webapplicationfirewallpolicies.ActionTypeJSChallenge), string(webapplicationfirewallpolicies.ActionTypeLog), }, false), }, diff --git a/website/docs/r/web_application_firewall_policy.html.markdown b/website/docs/r/web_application_firewall_policy.html.markdown index b112fa0e8dfe..af4bdcfa7909 100644 --- a/website/docs/r/web_application_firewall_policy.html.markdown +++ b/website/docs/r/web_application_firewall_policy.html.markdown @@ -257,7 +257,7 @@ The `rule` block supports the following: * `enabled` - (Optional) Describes if the managed rule is in enabled state or disabled state. -* `action` - (Optional) Describes the override action to be applied when rule matches. Possible values are `Allow`, `AnomalyScoring`, `Block` and `Log`. +* `action` - (Optional) Describes the override action to be applied when rule matches. Possible values are `Allow`, `AnomalyScoring`, `Block`, `JSChallenge` and `Log`. `JSChallenge` is only valid for rulesets of type `Microsoft_BotManagerRuleSet`. ---