| setappfwprofile_type |
Use this method to set application firewall profile type, which controls which security checks and settings are applied to content that is filtered with the profile. Available settings function as follows: * HTML - HTML-based web sites. * XML - XML-based web sites and services. * JSON - JSON-based web sites and services. * HTML XML (Web 2.0) - Sites that contain both HTML and XML content, such as ATOM feeds, blogs, and RSS feeds. * HTML JSON - Sites that contain both HTML and JSON content. * XML JSON - Sites that contain both XML and JSON content. * HTML XML JSON - Sites that contain HTML, XML and JSON content. |
Syntax |
Parameters |
name |
Name of the profile that you want to modify. This is mandatory parameter. |
type |
Application firewall profile type, which controls which security checks and settings are applied to content that is filtered with the profile. Available settings function as follows:
* HTML - HTML-based web sites.
* XML - XML-based web sites and services.
* JSON - JSON-based web sites and services.
* HTML XML (Web 2.0) - Sites that contain both HTML and XML content, such as ATOM feeds, blogs, and RSS feeds.
* HTML JSON - Sites that contain both HTML and JSON content.
* XML JSON - Sites that contain both XML and JSON content.
* HTML XML JSON - Sites that contain HTML, XML and JSON content. Default value = AF_PROFILE_TYPE_HTML. Possible Values : HTML, XML, JSON. |
Return Value |
Returns simpleResult |
See Also |