Home > Configuration > Application Firewall > setappfwprofile_contenttypeaction

setappfwprofile_contenttypeaction

Use this method to set one or more Content-type 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 -contentTypeaction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -contentTypeaction none".

Syntax



Parameters

name

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

contenttypeaction

One or more Content-type 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 -contentTypeaction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -contentTypeaction none".
Default value = AS_DEFAULT_CONTENT_TYPE_DISPOSITION.
Possible Values : none, block, learn, log, stats.

Return Value

Returns simpleResult

See Also