Fortinet 429 FortiWeb 5.0 Patch 6 Administration Guide
3. Click one of those buttons, then from the drop-down menu that appears, select the new
value for setting.
Defining custom data types
In addition to using the predefined regular expressions that FortiWeb has to detect data types,
you can also configure your own custom data types.
To create a custom data type
1. Go to Auto Learn > Custom Pattern > Data Type.
To access this part of the web UI, your administrator’s account access profile must have
Read and Write permission to items in the Server Policy Configuration category. For details,
see “Permissions” on page 47.
2. Click Create New.
A dialog appears.
3. In Name, type a unique name that can be referenced by other parts of the configuration. Do
not use spaces or special characters. The maximum length is 35 characters.
4. In Expression, enter a regular expression that defines this data type.
5. To test the regular expression against sample text, click the >> (test) icon. This opens the
Regular Expression Validator window where you can fine-tune the expression (see “Regular
expression syntax” on page 673).
6. Click OK.
7. To use a custom data type, select it when configuring an input rule. For details, see
“Validating parameters (“input rules”)” on page 421.
Unlike predefined data types, custom data types cannot be used by auto-learning profiles.
To create a custom data type by modifying a predefined data type, copy the text in the Pattern
column of the predefined data type, then paste it into a custom data type.