Editing a Web Application Firewall Request Protection Rule

Update a request protection rule contained within a web application firewall policy.

Using the Console

  1. On the Policies list page, select the policy that you want to work with. If you need help finding the list page or the policy, see Listing Web Application Firewall Policies.
    The policy's details page opens.
  2. From the details page, select Protections.
    All request protections rules are displayed in a table.
  3. Select the request protection rule that you want to work with.
    The request protection rule's details page opens.
  4. Select Manage request protection rules.
    The Manage request protection rules panel opens.
  5. Select Edit.
    The Edit protection rule panel opens.
  6. Update the firewall settings as needed. For descriptions of the protections rule settings, see Adding a Web Application Firewall Request Protection Rule.
  7. To edit multiple rules at once, select the checkboxes for one or more rules, select the Actions menu at the top of the table, and then select one of the following options:
    • View and edit rules settings: Apply the following settings to any request protection rule that has HTTP body inspection enabled:
      • Maximum number of bytes allowed: Specify the number of bytes in each HTTP message body that undergoes inspection. Value ranges from 0 - 8192.
      • Action taken if limit has been exceeded: Select an action from the list that occurs if the size of the message body exceeds your specified maximum number of bytes allowed. The pre-defined actions are:
        • Inspect partial body and continue: The body is inspected to the specified size limit. No further action is taken if that limit is exceeded. This selection is equal to the "None" selection.
        • Pre-configured 401 Response Code Action: This is a dynamic action. Each time you can define a different set of actions, but they all are going to be with the "Return HTTP Response" type.
        • Return HTTP response: This option is disabled.

        You can also create a custom action. For more information, see Actions.

    • Enable body inspection: Enables inspection of the HTTP message body.
    • Disable body inspection: Disables inspection of the HTTP message body.
    • Delete: Removes the selected request protection rules from the web application firewall policy.

    For more information on the HTTP body inspection feature, see HTTP Request Body Inspection for Web Application Firewall.

  8. Select Update.