Home > Configuration > Application Firewall > setappfwprofile_sqlinjectionaction

setappfwprofile_sqlinjectionaction

Use this method to set one or more HTML SQL Injection actions. Available settings function as follows:
* Block - Block connections that violate this security check.
* Learn - Use the learning engine to generate a list of exceptions to this security check.
* Log - Log violations of this security check.
* Stats - Generate statistics for this security check.
* None - Disable all actions for this security check.

CLI users: To enable one or more actions, type "set appfw profile -SQLInjectionAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -SQLInjectionAction none".

Syntax



Parameters

name

Name of the profile that you want to modify.
This is mandatory parameter.

sqlinjectionaction

One or more HTML SQL Injection actions. Available settings function as follows: * Block - Block connections that violate this security check. * Learn - Use the learning engine to generate a list of exceptions to this security check. * Log - Log violations of this security check. * Stats - Generate statistics for this security check. * None - Disable all actions for this security check. CLI users: To enable one or more actions, type "set appfw profile -SQLInjectionAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -SQLInjectionAction none".
Default value = AS_DEFAULT_DISPOSITION.
Possible Values : none, block, learn, log, stats.

Return Value

Returns simpleResult

See Also