addappfwpolicy

Use this method to creates an application firewall policy.

Syntax



Parameters

name

Name for the policy. 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. Can be changed after the policy is created. 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 policy" or 'my policy'\).
This is mandatory parameter.

rule

Name of the Citrix ADC named rule, or a Citrix ADC expression, that the policy uses to determine whether to filter the connection through the application firewall with the designated profile.
This is mandatory parameter.

profilename

Name of the application firewall profile to use if the policy matches.
This is mandatory parameter.

comment

Any comments to preserve information about the policy for later reference.

logaction

Where to log information for connections that match this policy.

Return Value

Returns simpleResult

See Also