Resource PullzoneWafRule in pulumi-bunnynet.
Pulumi type: bunnynet:index/pullzoneWafRule:PullzoneWafRule.
name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.
Example#
Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.
Arguments#
| Property | Type | Required | Description |
|---|---|---|---|
conditions | PullzoneWafRuleCondition (input)[] | no | The condition to trigger the WAF rule. |
description | string | no | The WAF rule description. |
name | string | no | The WAF rule name. |
pullzone | number | yes | The ID of the linked pullzone. |
response | PullzoneWafRuleResponse (input) | no | The response once the WAF rule is triggered. |
transformations | string[] | no | Options: CMDLINE, COMPRESSWHITESPACE, CSSDECODE, HEXENCODE, HTMLENTITYDECODE, JSDECODE, LENGTH, LOWERCASE, MD5, NORMALISEPATH, NORMALISEPATHWIN, NORMALIZEPATH, NORMALIZEPATHWIN, REMOVECOMMENTS, REMOVENULLS, REMOVEWHITESPACE, REPLACECOMMENTS, SHA1, URLDECODE, URLDECODEUNI, UTF8TOUNICODE |
Outputs#
Computed outputs are produced by the provider. They are not constructor arguments.
| Property | Type | Computed | Description |
|---|---|---|---|
conditions | PullzoneWafRuleCondition (output)[] | no | The condition to trigger the WAF rule. |
description | string | no | The WAF rule description. |
name | string | no | The WAF rule name. |
pullzone | number | no | The ID of the linked pullzone. |
pullzoneWafRuleId | number | yes | The ID of the WAF rule. |
response | PullzoneWafRuleResponse (output) | no | The response once the WAF rule is triggered. |
transformations | string[] | no | Options: CMDLINE, COMPRESSWHITESPACE, CSSDECODE, HEXENCODE, HTMLENTITYDECODE, JSDECODE, LENGTH, LOWERCASE, MD5, NORMALISEPATH, NORMALISEPATHWIN, NORMALIZEPATH, NORMALIZEPATHWIN, REMOVECOMMENTS, REMOVENULLS, REMOVEWHITESPACE, REPLACECOMMENTS, SHA1, URLDECODE, URLDECODEUNI, UTF8TOUNICODE |
PullzoneWafRuleCondition (input)#
Input object PullzoneWafRuleCondition. Fields below belong to this object, not to the parent.
| Property | Type | Required | Description |
|---|---|---|---|
negated | boolean | no | Negates the condition result. |
operator | string | yes | Options: BEGINSWITH, CONTAINS, CONTAINSWORD, DETECTSQLI, DETECTXSS, ENDSWITH, EQ, GE, GT, LE, LT, RX, STREQ, STRMATCH, WITHIN |
value | string | yes | |
variable | string | yes | Options: ARGS, ARGS_COMBINED_SIZE, ARGS_GET, ARGS_GET_NAMES, ARGS_POST, ARGS_POST_NAMES, FILES_NAMES, FINGERPRINT, GEO, QUERY_STRING, REMOTE_ADDR, REQUEST_BASENAME, REQUEST_BODY, REQUEST_COOKIES, REQUEST_COOKIES_NAMES, REQUEST_FILENAME, REQUEST_HEADERS, REQUEST_HEADERS_NAMES, REQUEST_LINE, REQUEST_METHOD, REQUEST_PROTOCOL, REQUEST_URI, REQUEST_URI_RAW, RESPONSE_BODY, RESPONSE_HEADERS, RESPONSE_STATUS, VERIFIED_BOT_CATEGORY |
variableValue | string | no | |
variableValueRegex | boolean | no | Indicated whether variableValue is a regular expression. |
PullzoneWafRuleResponse (input)#
Input object PullzoneWafRuleResponse. Fields below belong to this object, not to the parent.
| Property | Type | Required | Description |
|---|---|---|---|
action | string | yes | The action to take if the WAF rule is triggered. Options: Allow, Block, Bypass, Challenge, Log |
PullzoneWafRuleCondition (output)#
Output object PullzoneWafRuleCondition. Fields below belong to this object.
| Property | Type | Always present | Description |
|---|---|---|---|
negated | boolean | yes | Negates the condition result. |
operator | string | yes | Options: BEGINSWITH, CONTAINS, CONTAINSWORD, DETECTSQLI, DETECTXSS, ENDSWITH, EQ, GE, GT, LE, LT, RX, STREQ, STRMATCH, WITHIN |
value | string | yes | |
variable | string | yes | Options: ARGS, ARGS_COMBINED_SIZE, ARGS_GET, ARGS_GET_NAMES, ARGS_POST, ARGS_POST_NAMES, FILES_NAMES, FINGERPRINT, GEO, QUERY_STRING, REMOTE_ADDR, REQUEST_BASENAME, REQUEST_BODY, REQUEST_COOKIES, REQUEST_COOKIES_NAMES, REQUEST_FILENAME, REQUEST_HEADERS, REQUEST_HEADERS_NAMES, REQUEST_LINE, REQUEST_METHOD, REQUEST_PROTOCOL, REQUEST_URI, REQUEST_URI_RAW, RESPONSE_BODY, RESPONSE_HEADERS, RESPONSE_STATUS, VERIFIED_BOT_CATEGORY |
variableValue | string | no | |
variableValueRegex | boolean | yes | Indicated whether variableValue is a regular expression. |
PullzoneWafRuleResponse (output)#
Output object PullzoneWafRuleResponse. Fields below belong to this object.
| Property | Type | Always present | Description |
|---|---|---|---|
action | string | yes | The action to take if the WAF rule is triggered. Options: Allow, Block, Bypass, Challenge, Log |