| addcontentinspectionpolicy |
Use this method to creates a contentInspection policy, which specifies requests that the Citrix ADC intercepts and executes the specified action. |
Syntax |
Parameters |
name |
Name for the contentInspection 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 contentInspection policy 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 contentInspection policy" or 'my contentInspection policy'). This is mandatory parameter. |
rule |
Expression that the policy uses to determine whether to execute the specified action. This is mandatory parameter. |
actioN |
Name of the contentInspection action to perform if the request matches this contentInspection policy.
There are also some built-in actions which can be used. These are:
* NOINSPECTION - Send the request from the client to the server or response from the server to the client without sending it to Inspection device for Content Inspection.
* RESET - Resets the client connection by closing it. The client program, such as a browser, will handle this and may inform the user. The client may then resend the request if desired.
* DROP - Drop the request without sending a response to the user. This is mandatory parameter. |
undefaction |
Action to perform if the result of policy evaluation is undefined (UNDEF). An UNDEF event indicates an internal error condition. Only the above built-in actions can be used. |
comment |
Any type of information about this contentInspection policy. |
logaction |
Name of the messagelog action to use for requests that match this policy. |
Return Value |
Returns simpleResult |
See Also |