ADC CLI Commands

appfw-fieldType

The following operations can be performed on “appfw-fieldType”:

show rm add set

show appfw fieldType

Displays the regular expression that defines the specified field type and its priority. If no field type is specified, displays all form field types currently configured on the Citrix ADC.

Synopsis

show appfw fieldType [] [-noCharMaps]

Arguments

name Name of the field type.

noCharMaps will not show internal field types added as part of FieldFormat learn rules deployment

Output

regex PCRE - format regular expression defining the characters and length allowed for this field type.

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.

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

builtin Flag to determine if fieldtype is built-in or not

feature The feature to be checked while applying this config

devno count stateflag

rm appfw fieldType

Removes an application firewall field type.

Synopsis

rm appfw fieldType

Arguments

name Name of the field type.

add appfw fieldType

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.

Synopsis

add appfw fieldType [-comment ]

Arguments

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’).

regex PCRE - format regular expression defining the characters and length allowed for this field type.

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. Minimum value: 0 Maximum value: 64000

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

set appfw fieldType

Modifies the properties of the specified application firewall field type.

Synopsis

set appfw fieldType [-comment ]

Arguments

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’).

regex PCRE - format regular expression defining the characters and length allowed for this field type.

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. Minimum value: 0 Maximum value: 64000

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

appfw-fieldType