ADC CLI Commands

contentinspection-wasmProfile

The following operations can be performed on “contentinspection-wasmProfile”:

add rm set unset show

add contentinspection wasmProfile

Adds a CI WASM profile to the Citrix ADC.

Synopsis

add contentinspection wasmProfile [-timeout ] [-timeoutAction ] [-maxBodyLen ] [-anomalousDataSize ] [-anomalousTTFBTime ] -wasmModule

Arguments

name Name of CI WASM profile

timeout Timeout (in milliseconds) for the connection with the CI WASM agent Default value: 1000 Minimum value: 0 Maximum value: 86400000

timeoutAction Timeout action for the connection with the CI agent. Either the original request can be bypassed i.e. request/response is forwarded to the endpoint or the transaction is dropped/reset.

Possible values: BYPASS, DROP, RESET Default value: DROP

maxBodyLen Max data size (in KB) that will be sent to the CI Agent. Default is 16KB. Maximum value that can be configured is 32KB. Default value: 16 Minimum value: 0 Maximum value: 32

anomalousDataSize Transaction data size (in KB) greater than which a transaction is considered as anomalous. Default is 512KB. Default value: 512 Minimum value: 0 Maximum value: 512

anomalousTTFBTime Transaction time (in milliseconds) above which a transaction is considered as anomalous. Default is 1 seconds. Default value: 1000 Minimum value: 0 Maximum value: 3600000

wasmModule Name of the WASM Module

Example

add contentinspection wasmprofile ciprof -wasmModule wasmModv1 -timeout 2000 -timeoutAction RESET

rm contentinspection wasmProfile

Removes a CI WASM profile.

Synopsis

rm contentinspection wasmProfile

Arguments

name Name of the CI WASM profile to be removed

Example

rm contentinspection wasmprofile ciprof

set contentinspection wasmProfile

Modifies the attributes of a CI WASM profile.

Synopsis

set contentinspection wasmProfile [-timeout ] [-timeoutAction ] [-maxBodyLen ] [-anomalousDataSize ] [-anomalousTTFBTime ] [-wasmModule ]

Arguments

name Name of CI WASM profile

timeout Timeout (in milliseconds) for the connection with the CI WASM agent Default value: 1000 Minimum value: 0 Maximum value: 86400000

timeoutAction Timeout action for the connection with the CI agent. Either the original request can be bypassed i.e. request/response is forwarded to the endpoint or the transaction is dropped/reset.

Possible values: BYPASS, DROP, RESET Default value: DROP

maxBodyLen Max data size (in KB) that will be sent to the CI Agent. Default is 16KB. Maximum value that can be configured is 32KB. Default value: 16 Minimum value: 0 Maximum value: 32

anomalousDataSize Transaction data size (in KB) greater than which a transaction is considered as anomalous. Default is 512KB. Default value: 512 Minimum value: 0 Maximum value: 512

anomalousTTFBTime Transaction time (in milliseconds) above which a transaction is considered as anomalous. Default is 1 seconds. Default value: 1000 Minimum value: 0 Maximum value: 3600000

wasmModule Name of the WASM Module

Example

set contentinspection wasmprofile ciprof -wasmModule wasmModv1 -timeout 2000 -timeoutAction RESET

unset contentinspection wasmProfile

Use this command to remove contentinspection wasmProfile settings.Refer to the set contentinspection wasmProfile command for meanings of the arguments.

Synopsis

unset contentinspection wasmProfile [-timeout] [-timeoutAction] [-maxBodyLen] [-anomalousDataSize] [-anomalousTTFBTime]

show contentinspection wasmProfile

Get CI WASM profile info

Synopsis

show contentinspection wasmProfile []

Arguments

name Name of the CI WASM profile to be displayed

Output

timeout Timeout (in milliseconds) for the connection with the CI WASM agent

timeoutAction Timeout action for the connection with the CI agent. Either the original request can be bypassed i.e. request/response is forwarded to the endpoint or the transaction is dropped/reset.

maxBodyLen Max data size (in KB) that will be sent to the CI Agent. Default is 16KB. Maximum value that can be configured is 32KB.

anomalousDataSize Transaction data size (in KB) greater than which a transaction is considered as anomalous. Default is 512KB.

anomalousTTFBTime Transaction time (in milliseconds) above which a transaction is considered as anomalous. Default is 1 seconds.

wasmModule Name of the WASM Module

devno count stateflag _nextgenAPIResource

Example

show contentinspection wasmprofile ciprof

contentinspection-wasmProfile