Home > Configuration > Application Firewall > setappfwprofile_infercontenttypexmlpayloadaction

setappfwprofile_infercontenttypexmlpayloadaction

Use this method to set one or more infer content type payload actions. Available settings function as follows:
* Block - Block connections that have mismatch in content-type header and payload.
* Log - Log connections that have mismatch in content-type header and payload. The mismatched content-type in HTTP request header will be logged for the request.
* Stats - Generate statistics when there is mismatch in content-type header and payload.
* None - Disable all actions for this security check.

CLI users: To enable one or more actions, type "set appfw profile -inferContentTypeXMLPayloadAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -inferContentTypeXMLPayloadAction none". Please note "none" action cannot be used with any other action type.

Syntax



Parameters

name

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

infercontenttypexmlpayloadaction

One or more infer content type payload actions. Available settings function as follows: * Block - Block connections that have mismatch in content-type header and payload. * Log - Log connections that have mismatch in content-type header and payload. The mismatched content-type in HTTP request header will be logged for the request. * Stats - Generate statistics when there is mismatch in content-type header and payload. * None - Disable all actions for this security check. CLI users: To enable one or more actions, type "set appfw profile -inferContentTypeXMLPayloadAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -inferContentTypeXMLPayloadAction none". Please note "none" action cannot be used with any other action type.
Default value = AS_INFER_CONTENT_TYPE_XML_PAYLOAD_DEFAULT_DISPOSITION.
Possible Values : block, log, stats, none.

Return Value

Returns simpleResult

See Also