appmixer.imperva.waf.UpdateRule
Update Rule
1.0.2
Public
| Field | Type | Description |
|---|---|---|
| No properties defined | ||
| Field | Type | Description |
|---|---|---|
| Site ID | text | - |
| Rule ID | text | - |
| Name | text | Rule name. |
| Action | select | - |
| Filter | textarea | The filter defines the conditions that trigger the rule action. For action RULE_ACTION_SIMPLIFIED_REDIRECT filter is not relevant. For other actions, if left empty, the rule is always run. |
| Response Status Code | number | For RULE_ACTION_REDIRECT or RULE_ACTION_SIMPLIFIED_REDIRECT rule's response code, valid values are 302, 301, 303, 307, 308. For RULE_ACTION_RESPONSE_REWRITE_RESPONSE_CODE rule's response code, valid values are all 3-digits numbers. For RULE_ACTION_CUSTOM_ERROR_RESPONSE, valid values are [ 200, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 419, 420, 422, 423, 424, 429, 500, 501, 502, 503, 504, 505, 507 ]. |
| Add new if missing | toggle | Add cookie or header if it doesn't exist. |
| Rewrite if Exists | toggle | Rewrite cookie or header if it exists. |
| From | text | Pattern to rewrite. For RULE_ACTION_REWRITE_URL - Url to rewrite. For RULE_ACTION_REWRITE_HEADER/RULE_ACTION_RESPONSE_REWRITE_HEADER - Header value to rewrite. For RULE_ACTION_REWRITE_COOKIE - Cookie value to rewrite. |
| To | text | Pattern to change to. RULE_ACTION_REWRITE_URL - Url to change to. RULE_ACTION_REWRITE_HEADER/RULE_ACTION_RESPONSE_REWRITE_HEADER - Header value to change to. RULE_ACTION_REWRITE_COOKIE - Cookie value to change to. |
| Rewrite Name | text | Name of cookie or header to rewrite. Applies only for RULE_ACTION_REWRITE_COOKIE, RULE_ACTION_REWRITE_HEADER and RULE_ACTION_RESPONSE_REWRITE_HEADER. |
| Data Center ID | number | Data center to forward request to. |
| Port Forwarding Context | select | Context for port forwarding. |
| Port Forwarding Value | text | Port number or header name for port forwarding. |
| Context | select | The context of the rate counter. |
| Rate Interval | number | The interval in seconds of the rate counter. Possible values is a multiple of 10 minimum 10 maximum 300. |
| Error Type | select | The error that triggers the rule. 'error.type.all' triggers the rule regardless of the error type. |
| Error Response Format | select | The format of the given error response in the error_response_data field. |
| Error Response Data | textarea | The response returned when the request matches the filter and is blocked. |
| Multiple Deletions | toggle | Delete multiple header occurrences. |
| Override WAF Rule | select | The setting to override. |
| Override WAF Action | select | The action for the override rule. |
| Enabled | toggle | The setting enables or disables the rule. |
| Block Duration Details.Block Duration Period Type | select | Block duration types: Fixed, Randomized. Time range: 1-1440 minutes.The Fixed type blocks the IP address or session for the duration specified by the blockFixedDurationValue parameter. The Randomized type generates a random duration for each block between the specified minimum and maximum values. |
| Block Duration Details.Block Fixed Duration Value | number | Value of the fixed block duration. |
| Block Duration Details.Block Randomized Duration Min Value | number | The lower limit for the randomized block duration. |
| Block Duration Details.Block Randomized Duration Max Value | number | The upper limit for the randomized block duration. |
| Send Notifications | toggle | Send an email notification whenever this rule is triggered. Available for Security rules only. |
| Field | Type | Description |
|---|---|---|
| Site ID | - | |
| Rule ID | - | |
| Name | - | |
| Action | - | |
| Filter | - | |
| Response Code | - | |
| Add Missing | - | |
| Rewrite Existing | - | |
| From | - | |
| To | - | |
| Rewrite Name | - | |
| Data Center ID | - | |
| Port Forwarding Context | - | |
| Port Forwarding Value | - | |
| Rate Context | - | |
| Rate Interval | - | |
| Error Type | - | |
| Error Response Format | - | |
| Error Response Data | - | |
| Multiple Deletions | - | |
| Override WAF Rule | - | |
| Override WAF Action | - | |
| Enabled | - | |
| Block Duration Details | - | |
| Send Notifications | - |