Skip to content

Commit 7cfe47b

Browse files
authored
fixing activation mode values in documentation (#362)
* fixing activation mode values in documentation * fixing activation mode values in documentation
1 parent 8d8e58e commit 7cfe47b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

incapsula/resource_waf_security_rule.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func resourceWAFSecurityRule() *schema.Resource {
7070

7171
// Required for rule_id: api.threats.ddos
7272
"activation_mode": {
73-
Description: "The mode of activation for ddos on a site. Possible values: off, auto, on.",
73+
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.",
7474
Type: schema.TypeString,
7575
Optional: true,
7676
},

website/docs/r/waf_security_rule.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The following arguments are supported:
6868
* `site_id` - (Required) Numeric identifier of the site to operate on.
6969
* `rule_id` - (Required) The identifier of the WAF rule, e.g api.threats.cross_site_scripting.
7070
* `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.
71-
* `activation_mode` - (Optional) The mode of activation for ddos on a site. Possible values: off, auto, on.
71+
* `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.
7272
* `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.
7373
* `block_bad_bots` - (Optional) Whether or not to block bad bots. Possible values: true, false.
7474
* `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.

0 commit comments

Comments
 (0)