XML content types
To add an XML content type pattern by using the command line interface
-
add appfw XMLContentType <XMLContenttypevalue> [-isRegex ( REGEX | NOTREGEX )] -
save ns config
Example
add appfw XMLContentType ".*/xml" -isRegex REGEX
To remove an XML content type pattern by using the command line interface
-
rm appfw XMLContentType <XMLContenttypevalue> -
save ns config
To configure the XML content type list by using the GUI
-
Navigate to Security > Web App Firewall.
-
In the details pane, under Settings, click Manage XML Content Types.
-
In the Manage XML Content Types dialog box, do one of the following:
-
To add a new XML content type, click Add.
-
To modify an existing XML content type, select that type and then click Edit. The Configure Web App Firewall XML Content Type dialog appears. Note: If you select an existing XML content type pattern and then click Add, the dialog box displays the information for that XML content type pattern. You can modify that information to create your new XML content type pattern.
-
-
In the dialog box, fill out the elements. They are:
-
IsRegex. Select or clear to enable PCRE-format regular expressions in the form field name.
-
XML Content Type Enter a literal string or PCRE-format regular expression that matches the XML content type pattern that you want to add.
-
-
Click Create.
-
To remove an XML content type pattern from the list, select it, then click Remove to remove it, and then click OK to confirm your choice.
-
When you have finished adding and removing XML content type patterns, click Close.