Home > Configuration > Application Firewall > addappfwfieldtype

addappfwfieldtype

Use this method to adds a field type to the list of field types used by the field format security check.
A field type is a regular expression defining the type of data that can appear in a web form field. The Learning engine also uses the field types list to generate appropriate field type assignments for the field formats check.

Syntax



Parameters

name

Name for the field type. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters. Cannot be changed after the field type is added. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my field type" or 'my field type').
This is mandatory parameter.

regex

PCRE - format regular expression defining the characters and length allowed for this field type.
This is mandatory parameter.

priority

Positive integer specifying the priority of the field type. A lower number specifies a higher priority. Field types are checked in the order of their priority numbers.
This is mandatory parameter.
Maximum value = 64000.

comment

Comment describing the type of field that this field type is intended to match.

Return Value

Returns simpleResult

See Also