Skip to content

Commit

Permalink
fixing activation mode values in documentation (#362)
Browse files Browse the repository at this point in the history
* fixing activation  mode values in documentation

* fixing activation  mode values in documentation
  • Loading branch information
SEimperva authored Oct 26, 2023
1 parent 8d8e58e commit 7cfe47b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion incapsula/resource_waf_security_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func resourceWAFSecurityRule() *schema.Resource {

// Required for rule_id: api.threats.ddos
"activation_mode": {
Description: "The mode of activation for ddos on a site. Possible values: off, auto, on.",
Description: "The mode of activation for ddos on a site. Possible values: api.threats.ddos.activation_mode.off, api.threats.ddos.activation_mode.auto, api.threats.ddos.activation_mode.on.",
Type: schema.TypeString,
Optional: true,
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/waf_security_rule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The following arguments are supported:
* `site_id` - (Required) Numeric identifier of the site to operate on.
* `rule_id` - (Required) The identifier of the WAF rule, e.g api.threats.cross_site_scripting.
* `security_rule_action` - (Optional) The action that should be taken when a threat is detected, for example: api.threats.action.block_ip. See above examples for `rule_id` and `action` combinations.
* `activation_mode` - (Optional) The mode of activation for ddos on a site. Possible values: off, auto, on.
* `activation_mode` - (Optional) The mode of activation for ddos on a site. Possible values: api.threats.ddos.activation_mode.off, api.threats.ddos.activation_mode.auto, api.threats.ddos.activation_mode.on.
* `ddos_traffic_threshold` - (Optional) Consider site to be under DDoS if the request rate is above this threshold. The valid values are 10, 20, 50, 100, 200, 500, 750, 1000, 2000, 3000, 4000, 5000.
* `block_bad_bots` - (Optional) Whether or not to block bad bots. Possible values: true, false.
* `challenge_suspected_bots` - (Optional) Whether or not to send a challenge to clients that are suspected to be bad bots (CAPTCHA for example). Possible values: true, false.
Expand Down

0 comments on commit 7cfe47b

Please sign in to comment.