ADC CLI Commands

appfw-signatures

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

show update rm import

show appfw signatures

Displays the specified signatures object. If no signatures object is specified, displays all signatures objects defined on the Citrix ADC.

Synopsis

show appfw signatures []

Arguments

name Name of the signature object.

Output

response src URL (protocol, host, path, and file name) for the location at which to store the imported signatures object. NOTE: The import fails if the object to be imported is on an HTTPS server that requires client certificate authentication for access.

Example

show appfw signatures

update appfw signatures

Updates the specified signatures object from the source.

Synopsis

update appfw signatures

Arguments

name Name of the signatures object to update.

Example

update signatures my-signatures

rm appfw signatures

Removes the specified signature object from the application firewall.

Synopsis

rm appfw signatures

Arguments

name Name of the signature object.

Example

rm signatures

import appfw signatures

Imports the specified signatures object to the Citrix ADC and assigns it the specified name.

Synopsis

import appfw signatures \[-xslt ] \[-comment ] \[-overwrite] \[-merge \[-preservedefactions]] \[-sha1 ] \[-VendorType Snort] \[-autoEnableNewSignatures \( ON | OFF )] \[-ruleID <positive\_integer> ...] \[-category ] \[-Enabled \( ON | OFF )] \[-Action ...]

Arguments

src URL (protocol, host, path, and file name) for the location at which to store the imported signatures object. NOTE: The import fails if the object to be imported is on an HTTPS server that requires client certificate authentication for access.

name Name to assign to the signatures object on the Citrix ADC.

xslt XSLT file source.

comment Any comments to preserve information about the signatures object.

overwrite Overwrite any existing signatures object of the same name.

merge Merges the existing Signature with new signature rules

preservedefactions preserves def actions of signature rules

sha1 File path for sha1 file to validate signature file

VendorType Third party vendor type for which WAF signatures has to be generated.

Possible values: Snort

autoEnableNewSignatures Flag used to enable/disable auto enable new signatures

Possible values: ON, OFF Default value: OFF

ruleID Signature rule IDs to be Enabled/Disabled Minimum value: 1 Maximum value: 2000000

category Signature category to be Enabled/Disabled

Enabled Flag used to enable/disable enable signature rule IDs/Signature Category

Possible values: ON, OFF Default value: ON

Action Signature action Default value: AS_SIGNATURE_DISPOSITION

Example

import signatures http://www.example.com/ns/signatures.xml my-signature

appfw-signatures