config : server-policy pattern custom-data-type
 
server-policy pattern custom-data-type
Use this command to configure custom data types to augment the predefined data types. You can add custom data types to input rules to define the data type of an input, and to auto-learning profiles to detect valid input parameters.
To use this command, your administrator account’s access control profile must have either w or rw permission to the traroutegrp area. For more information, see “Permissions”.
Syntax
config server-policy pattern custom-data-type
edit <custom-data-type_name>
set expression <regex_pattern>
next
end
Variable
Description
Default
<custom-data-type_name>
Type the name of the custom data type. The maximum length is 35 characters.
To display the list of existing types, type:
edit ?
No default.
expression <regex_pattern>
Type a regular expression that defines the data type. It should match all data of that type, but nothing else. The maximum length is 2,071 characters.
No default.
Example
This example configures two custom data types.
config server-policy pattern custom-data-type
edit "Level 3 Password-custom"
set expression "^aaa"
next
edit "Custom Data Type 1"
set expression "^555"
next
end
Related topics
config server-policy pattern data-type-group