assign_qr_condition_to_action
This command creates an association between a query rewrite condition and an associated action.
This API is available in Guardium V10.1.4 and later.
REST API syntax
This API is available as a REST service with the
POST
method. Call this API as follows:
POST https://[Guardium hostname or IP address]:8443/restAPI/qr_condition_to_action
GuardAPI syntax
assign_qr_condition_to_action parameter=value
Parameters
Parameter | Value type | Description |
---|---|---|
actionName | String | Required. The name of the query rewrite action. |
conditionName | String | Required. The name of the query rewrite condition to be associated with the specified action. |
definitionName | String | Required. The name of the query rewrite definition that is associated with the specified condition and action. |
Examples
To associate the condition "qr cond15_2" with the action "qr action15_2", and give it the definition name "case 15":
grdapi assign_qr_condition_to_action definitionName="case 15" actionName="qr action15_2" conditionName="qr cond15_2"