Product Documentation

Changing an Web App Firewall profile type

If you chose the wrong profile type for an Web App Firewall profile, or the type of content on the protected web site has changed, you can change the profile type.

Note: When you change the profile type, you lose all configuration settings and learned relaxations or rules for the features that the new profile type does not support. For example, if you change the profile type from Web 2.0 to XML, you lose any configuration options for Start URL, Form Field Consistency Check, and the other HTML-specific security checks. The configuration for any options that is supported by both the old and the new profile types remains unchanged.

To change an Web App Firewall profile type by using the command line interface

At the command prompt, type the following commands:

  • set appfw profile <name> -type ( **HTML** | **XML** | **HTML XML** )
  • save ns config

Example

The following example changes the type of a profile named pr-basic, from HTML to HTML XML, which is equivalent to the Web 2.0 type in the GUI.

set appfw profile pr-basic -type HTML XML
save ns config

To change an Web App Firewall profile type by using the GUI

  1. Navigate to Security > Application Firewall > Policies.
  2. In the details pane, click Action, and then Change Profile Type.
  3. In the Change Web App Firewall Profile Type dialog box, Profile Type drop-down list, select a new profile type.
  4. Click OK to save your changes and return to the Profiles pane.