Product Documentation

appfw fieldType

Sep 12, 2016

The following operations can be performed on "appfw fieldType":

add | rm | set | show

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.

Synopsys

add appfw fieldType <name> <regex> <priority> [-comment <string>]

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 NetScaler 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.

rm appfw fieldType

Removes an application firewall field type.

Synopsys

rm appfw fieldType <name>

Arguments

name

Name of the field type.

set appfw fieldType

Modifies the properties of the specified application firewall field type.

Synopsys

set appfw fieldType <name> <regex> <priority> [-comment <string>]

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 NetScaler 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.

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 NetScaler appliance.

Synopsys

show appfw fieldType [<name>] [-all]

Arguments

name

Name of the field type.

all

show all field types.

Outputs

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

devno

count

stateflag