netscaler / netscaler.adc / 2.5.1 / module / appfwprofile Configuration for application firewall profile resource. | "added in version" 2.0.0 of netscaler.adc" Authors: Sumanth Lingappa (@sumanth-lingappa) preview | supported by communitynetscaler.adc.appfwprofile (2.5.1) — module
Install with ansible-galaxy collection install netscaler.adc:==2.5.1
collections: - name: netscaler.adc version: 2.5.1
Configuration for application firewall profile resource.
name: description: - Name for the profile. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.), pound (#), space ( ), at (@), equals (=), colon (:), and underscore (_) characters. Cannot be changed after the profile is added. - '' - 'The following requirement applies only to the Citrix ADC CLI:' - If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my profile" or 'my profile'). type: str nsip: description: - The ip address of the NetScaler ADC appliance where the nitro API calls will be made. - The port can be specified with the colon (:). E.g. 192.168.1.1:555. required: true type: str type: choices: - HTML - XML - JSON description: - '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:' - '* C(HTML) - C(HTML)-based web sites.' - '* C(XML) - C(XML)-based web sites and services.' - '* C(JSON) - C(JSON)-based web sites and services.' - '* C(HTML) C(XML) (Web 2.0) - Sites that contain both C(HTML) and C(XML) content, such as ATOM feeds, blogs, and RSS feeds.' - '* C(HTML) C(JSON) - Sites that contain both C(HTML) and C(JSON) content.' - '* C(XML) C(JSON) - Sites that contain both C(XML) and C(JSON) content.' - '* C(HTML) C(XML) C(JSON) - Sites that contain C(HTML), C(XML) and C(JSON) content.' elements: str type: list state: choices: - present - absent - unset default: present description: - The state of the resource being configured by the module on the NetScaler ADC node. - When C(present), the resource will be added/updated configured according to the module's parameters. - When C(absent), the resource will be deleted from the NetScaler ADC node. - When C(unset), the resource will be unset on the NetScaler ADC node. type: str trace: choices: - 'ON' - 'OFF' description: - Toggle the state of trace type: str apispec: description: - Name of the API Specification. type: str augment: description: - Augment Relaxation Rules during import type: bool comment: description: - Any comments about the purpose of profile, or other useful information about the profile. type: str api_path: default: nitro/v1/config description: - Base NITRO API path. - Define only in case of an ADM service proxy call type: str defaults: choices: - basic - advanced - core - cve description: - Default configuration to apply to the profile. Basic defaults are intended for standard content that requires little further configuration, such as static web site content. Advanced defaults are intended for specialized content that requires significant specialized configuration, such as heavily scripted or dynamic content. - '' - 'CLI users: When adding an application firewall profile, you can set either the defaults or the type, but not both. To set both options, create the profile by using the add appfw profile command, and then use the set appfw profile command to configure the other option.' type: str errorurl: description: - URL that application firewall uses as the Error URL. type: str overwrite: description: - Purge existing Relaxation Rules and replace during import type: bool streaming: choices: - 'ON' - 'OFF' description: - 'Setting this option converts content-length form submission requests (requests with content-type "application/x-www-form-urlencoded" or "multipart/form-data") to chunked requests when atleast one of the following protections : Signatures, SQL injection protection, XSS protection, form field consistency protection, starturl closure, CSRF tagging, JSON SQL, JSON XSS, JSON DOS is enabled. Please make sure that the backend server accepts chunked requests before enabling this option. Citrix recommends enabling this option for large request sizes(>20MB).' type: str ceflogging: choices: - 'ON' - 'OFF' description: - Enable CEF format logs for the profile. type: str creditcard: choices: - none - visa - mastercard - discover - amex - jcb - dinersclub description: - Credit card types that the application firewall should protect. elements: str type: list grpcaction: choices: - none - block - log - stats description: - gRPC validation elements: str type: list nitro_pass: description: - The password with which to authenticate to the NetScaler ADC node. required: false type: str nitro_user: description: - The username with which to authenticate to the NetScaler ADC node. required: false type: str restaction: choices: - none - block - log - stats description: - rest validation elements: str type: list rfcprofile: description: - Object name of the rfc profile. type: str signatures: description: - Object name for signatures. - 'This check is applicable to Profile Type: HTML, XML.' type: str archivename: description: - Source for tar archive. type: str save_config: default: false description: - If C(true) the module will save the configuration on the NetScaler ADC node if it makes any changes. - The module will not save the configuration on the NetScaler ADC node if it made no changes. type: bool xmldosaction: choices: - none - block - learn - log - stats description: - 'One or more XML Denial-of-Service (XDoS) 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 -XMLDoSAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -XMLDoSAction C(none)".' elements: str type: list xmlwsiaction: choices: - none - block - learn - log - stats description: - 'One or more Web Services Interoperability (WSI) 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 -XMLWSIAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -XMLWSIAction C(none)".' elements: str type: list xmlxssaction: choices: - none - block - learn - log - stats description: - 'One or more XML Cross-Site Scripting actions. Available settings function as follows:' - '* Block - Block connections that violate 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 -XMLXSSAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -XMLXSSAction C(none)".' elements: str type: list csrftagaction: choices: - none - block - learn - log - stats description: - 'One or more Cross-Site Request Forgery (CSRF) Tagging 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 -CSRFTagAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -CSRFTagAction C(none)".' elements: str type: list denyurlaction: choices: - none - block - log - stats description: - 'One or more Deny URL actions. Available settings function as follows:' - '* Block - Block connections that violate 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.' - '' - 'NOTE: The Deny URL check takes precedence over the Start URL check. If you enable blocking for the Deny URL check, the application firewall blocks any URL that is explicitly blocked by a Deny URL, even if the same URL would otherwise be allowed by the Start URL check.' - '' - 'CLI users: To enable one or more actions, type "set appfw profile -denyURLaction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -denyURLaction C(none)".' elements: str type: list jsondosaction: choices: - none - block - log - stats description: - 'One or more JSON Denial-of-Service (JsonDoS) actions. Available settings function as follows:' - '* Block - Block connections that violate 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 -JSONDoSAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -JSONDoSAction C(none)".' elements: str type: list jsonxssaction: choices: - none - block - log - stats description: - 'One or more JSON Cross-Site Scripting actions. Available settings function as follows:' - '* Block - Block connections that violate 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 -JSONXssAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -JSONXssAction C(none)".' elements: str type: list postbodylimit: description: - Maximum allowed HTTP post body size, in bytes. Maximum supported value is 10GB. Citrix recommends enabling streaming option for large values of post body limit (>20MB). type: float stripcomments: choices: - 'ON' - 'OFF' description: - Strip HTML comments. - 'This check is applicable to Profile Type: HTML.' type: str addcookieflags: choices: - none - httpOnly - secure - all description: - 'Add the specified flags to cookies. Available settings function as follows:' - '* None - Do not add flags to cookies.' - '* HTTP Only - Add the HTTP Only flag to cookies, which prevents scripts from accessing cookies.' - '* Secure - Add Secure flag to cookies.' - '* All - Add both HTTPOnly and Secure flags to cookies.' type: str cookieproxying: choices: - none - sessionOnly description: - 'Cookie proxy setting. Available settings function as follows:' - '* None - Do not proxy cookies.' - '* Session Only - Proxy session cookies by using the Citrix ADC session ID, but do not proxy permanent cookies.' type: str creditcardxout: choices: - 'ON' - 'OFF' description: - Mask any credit card number detected in a response by replacing each digit, except the digits in the final group, with the letter "X." type: str customsettings: description: - Object name for custom settings. - 'This check is applicable to Profile Type: HTML, XML.' type: str defaultcharset: description: - 'Default character set for protected web pages. Web pages sent by your protected web sites in response to user requests are assigned this character set if the page does not already specify a character set. The character sets supported by the application firewall are:' - '* iso-8859-1 (English US)' - '* big5 (Chinese Traditional)' - '* gb2312 (Chinese Simplified)' - '* sjis (Japanese Shift-JIS)' - '* euc-jp (Japanese EUC-JP)' - '* iso-8859-9 (Turkish)' - '* utf-8 (Unicode)' - '* euc-kr (Korean)' type: str matchurlstring: description: - Match this action url in archived Relaxation Rules to replace. type: str nitro_protocol: choices: - http - https default: https description: - Which protocol to use when accessing the nitro API objects. type: str starturlaction: choices: - none - block - learn - log - stats description: - 'One or more Start URL 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 -startURLaction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -startURLaction C(none)".' elements: str type: list validate_certs: default: true description: - If C(false), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. required: false type: bool xmlerrorobject: description: - Name to assign to the XML Error Object, which the application firewall displays when a user request is blocked. - Must begin with a letter, number, or the underscore character \(_\), and must contain only letters, numbers, and the hyphen \(-\), period \(.\) pound \(\#\), space \( \), at (@), equals \(=\), colon \(:\), and underscore characters. Cannot be changed after the XML error object is added. - '' - 'The following requirement applies only to the Citrix ADC CLI:' - If the name includes one or more spaces, enclose the name in double or single quotation marks \(for example, "my XML error object" or 'my XML error object'\). type: str dynamiclearning: choices: - none - SQLInjection - CrossSiteScripting - fieldFormat - startURL - cookieConsistency - fieldConsistency - CSRFtag - ContentType description: - 'One or more security checks. Available options are as follows:' - '* C(SQLInjection) - Enable dynamic learning for C(SQLInjection) security check.' - '* C(CrossSiteScripting) - Enable dynamic learning for C(CrossSiteScripting) security check.' - '* C(fieldFormat) - Enable dynamic learning for C(fieldFormat) security check.' - '* None - Disable security checks for all security checks.' - '' - 'CLI users: To enable dynamic learning on one or more security checks, type "set appfw profile -dynamicLearning" followed by the security checks to be enabled. To turn off dynamic learning on all security checks, type "set appfw profile -dynamicLearning C(none)".' elements: str type: list htmlerrorobject: description: - Name to assign to the HTML Error Object. - Must begin with a letter, number, or the underscore character \(_\), and must contain only letters, numbers, and the hyphen \(-\), period \(.\) pound \(\#\), space \( \), at (@), equals \(=\), colon \(:\), and underscore characters. Cannot be changed after the HTML error object is added. - '' - 'The following requirement applies only to the Citrix ADC CLI:' - If the name includes one or more spaces, enclose the name in double or single quotation marks \(for example, "my HTML error object" or 'my HTML error object'\). type: str jsonerrorobject: description: - Name to the imported JSON Error Object to be set on application firewall profile. - '' - 'The following requirement applies only to the Citrix ADC CLI:' - If the name includes one or more spaces, enclose the name in double or single quotation marks \(for example, "my JSON error object" or 'my JSON error object'\). type: str protofileobject: description: - Name of the imported proto file. type: str relaxationrules: description: - Import all appfw relaxation rules type: bool starturlclosure: choices: - 'ON' - 'OFF' description: - Toggle the state of Start URL Closure. type: str verboseloglevel: choices: - pattern - patternPayload - patternPayloadHeader description: - Detailed Logging Verbose Log Level. type: str xmlformataction: choices: - none - block - log - stats description: - 'One or more XML Format actions. Available settings function as follows:' - '* Block - Block connections that violate 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 -XMLFormatAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -XMLFormatAction C(none)".' elements: str type: list cmdinjectiontype: choices: - CMDSplChar - CMDKeyword - CMDSplCharORKeyword - CMDSplCharANDKeyword - None description: - Available CMD injection types. - '-C(CMDSplChar) : Checks for CMD Special Chars' - '-C(CMDKeyword) : Checks for CMD Keywords' - '-C(CMDSplCharANDKeyword) : Checks for both and blocks if both are found' - '-C(CMDSplCharORKeyword) : Checks for both and blocks if anyone is found,' - '-C(None) : Disables checking using both CMD Special Char and Keyword' type: str cookieencryption: choices: - none - decryptOnly - encryptSessionOnly - encryptAll description: - 'Type of cookie encryption. Available settings function as follows:' - '* None - Do not encrypt cookies.' - '* Decrypt Only - Decrypt encrypted cookies, but do not encrypt cookies.' - '* Encrypt Session Only - Encrypt session cookies, but not permanent cookies.' - '* Encrypt All - Encrypt all cookies.' type: str cookietransforms: choices: - 'ON' - 'OFF' description: - Perform the specified type of cookie transformation. - 'Available settings function as follows:' - '* Encryption - Encrypt cookies.' - '* Proxying - Mask contents of server cookies by sending proxy cookie to users.' - '* Cookie flags - Flag cookies as HTTP only to prevent scripts on user''s browser from accessing and possibly modifying them.' - 'CAUTION: Make sure that this parameter is set to C(ON) if you are configuring any cookie transformations. If it is set to C(OFF), no cookie transformations are performed regardless of any other settings.' type: str creditcardaction: choices: - none - block - learn - log - stats description: - 'One or more Credit Card actions. Available settings function as follows:' - '* Block - Block connections that violate 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 -creditCardAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -creditCardAction C(none)".' elements: str type: list fileuploadmaxnum: description: - Maximum allowed number of file uploads per form-submission request. The maximum setting (65535) allows an unlimited number of uploads. type: float nitro_auth_token: description: - The authentication token provided by a login operation. type: str version_added: 2.6.0 version_added_collection: netscaler.adc replaceurlstring: description: - Replace matched url string with this action url string while restoring Relaxation Rules type: str sqlinjectiontype: choices: - SQLSplChar - SQLKeyword - SQLSplCharORKeyword - SQLSplCharANDKeyword - None description: - Available SQL injection types. - '-C(SQLSplChar) : Checks for SQL Special Chars' - "-C(SQLKeyword)\t\t : Checks for SQL Keywords" - '-C(SQLSplCharANDKeyword) : Checks for both and blocks if both are found' - '-C(SQLSplCharORKeyword) : Checks for both and blocks if anyone is found' - '-C(None) : Disables checking using both SQL Special Char and Keyword' type: str stripxmlcomments: choices: - none - all description: - Strip XML comments before forwarding a web page sent by a protected web site in response to a user request. type: str contenttypeaction: choices: - none - block - learn - log - stats description: - '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 C(none)".' elements: str type: list enableformtagging: choices: - 'ON' - 'OFF' description: - Enable tagging of web form fields for use by the Form Field Consistency and CSRF Form Tagging checks. type: str fieldformataction: choices: - none - block - learn - log - stats description: - 'One or more Field Format actions. Available settings function as follows:' - '* Block - Block connections that violate this security check.' - '* Learn - Use the learning engine to generate a list of suggested web form fields and field format assignments.' - '* 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 -fieldFormatAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -fieldFormatAction C(none)".' elements: str type: list importprofilename: description: - Name of the profile which will be created/updated to associate the relaxation rules type: str logeverypolicyhit: choices: - 'ON' - 'OFF' description: - Log every profile match, regardless of security checks results. type: str sessioncookiename: description: - Name of the session cookie that the application firewall uses to track user sessions. - Must begin with a letter or number, and can consist of from 1 to 31 letters, numbers, and the hyphen (-) and underscore (_) symbols. - '' - 'The following requirement applies only to the Citrix ADC CLI:' - If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my cookie name" or 'my cookie name'). type: str striphtmlcomments: choices: - none - all - exclude_script_tag description: - Strip HTML comments before forwarding a web page sent by a protected web site in response to a user request. type: str blockkeywordaction: choices: - none - block - log - stats description: - 'Block Keyword action. Available settings function as follows:' - '* Block - Block connections that violate 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 -blockKeywordAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -blockKeywordAction C(none)".' elements: str type: list clientipexpression: description: - Expression to get the client IP. type: str cmdinjectionaction: choices: - none - block - log - stats description: - 'Command injection action. Available settings function as follows:' - '* Block - Block connections that violate 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 -cmdInjectionAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -cmdInjectionAction C(none)".' elements: str type: list geolocationlogging: choices: - 'ON' - 'OFF' description: - Enable Geo-Location Logging in CEF format logs for the profile. type: str refererheadercheck: choices: - 'OFF' - if_present - AlwaysExceptStartURLs - AlwaysExceptFirstRequest description: - Enable validation of Referer headers. - Referer validation ensures that a web form that a user sends to your web site originally came from your web site, not an outside attacker. - Although this parameter is part of the Start URL check, referer validation protects against cross-site request forgery (CSRF) attacks, not Start URL attacks. type: str requestcontenttype: description: - Default Content-Type header for requests. - A Content-Type header can contain 0-255 letters, numbers, and the hyphen (-) and underscore (_) characters. type: str sqlinjectionaction: choices: - none - block - learn - log - stats description: - '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 C(none)".' elements: str type: list usehtmlerrorobject: choices: - 'ON' - 'OFF' description: - Send an imported HTML Error object to a user when a request is blocked, instead of redirecting the user to the designated Error URL. type: str xmlerrorstatuscode: description: - Response status code associated with XML error page. Non-empty XML error object must be imported to the application firewall profile for the status code. type: float xmlsoapfaultaction: choices: - none - block - log - remove - stats description: - 'One or more XML SOAP Fault Filtering actions. Available settings function as follows:' - '* Block - Block connections that violate 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.' - '* Remove - Remove all violations for this security check.' - '' - 'CLI users: To enable one or more actions, type "set appfw profile -XMLSOAPFaultAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -XMLSOAPFaultAction C(none)".' elements: str type: list checkrequestheaders: choices: - 'ON' - 'OFF' description: - Check request headers as well as web forms for injected SQL and cross-site scripts. type: str cmdinjectiongrammar: choices: - 'ON' - 'OFF' description: - Check for CMD injection using CMD grammar type: str htmlerrorstatuscode: description: - Response status code associated with HTML error page. Non-empty HTML error object must be imported to the application firewall profile for the status code. type: float inspectcontenttypes: choices: - none - application/x-www-form-urlencoded - multipart/form-data - text/x-gwt-rpc - application/grpc - application/grpc-web+json - application/grpc-web-text description: - One or more InspectContentType lists. - '* C(application/x-www-form-urlencoded)' - '* C(multipart/form-data)' - '* C(text/x-gwt-rpc)' - '' - 'CLI users: To enable, type "set appfw profile -InspectContentTypes" followed by the content types to be inspected.' elements: str type: list jsonerrorstatuscode: description: - Response status code associated with JSON error page. Non-empty JSON error object must be imported to the application firewall profile for the status code. type: float optimizepartialreqs: choices: - 'ON' - 'OFF' description: - Optimize handle of HTTP partial requests i.e. those with range headers. - 'Available settings are as follows:' - '* C(ON) - Partial requests by the client result in partial requests to the backend server in most cases.' - '* C(OFF) - Partial requests by the client are changed to full requests to the backend server' type: str postbodylimitaction: choices: - block - log - stats description: - 'One or more Post Body Limit actions. Available settings function as follows:' - '* Block - Block connections that violate this security check. Must always be set.' - '* Log - Log violations of this security check.' - '* Stats - Generate statistics for this security check.' - '' - 'CLI users: To enable one or more actions, type "set appfw profile -PostBodyLimitAction C(block)" followed by the other actions to be enabled.' elements: str type: list responsecontenttype: description: - Default Content-Type header for responses. - A Content-Type header can contain 0-255 letters, numbers, and the hyphen (-) and underscore (_) characters. type: str sqlinjectiongrammar: choices: - 'ON' - 'OFF' description: - Check for SQL injection using SQL grammar type: str xmlattachmentaction: choices: - none - block - learn - log - stats description: - 'One or more XML Attachment 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 -XMLAttachmentAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -XMLAttachmentAction C(none)".' elements: str type: list xmlsqlinjectiontype: choices: - SQLSplChar - SQLKeyword - SQLSplCharORKeyword - SQLSplCharANDKeyword - None description: - Available SQL injection types. - '-C(SQLSplChar) : Checks for SQL Special Chars' - '-C(SQLKeyword) : Checks for SQL Keywords' - '-C(SQLSplCharANDKeyword) : Checks for both and blocks if both are found' - '-C(SQLSplCharORKeyword) : Checks for both and blocks if anyone is found' type: str xmlvalidationaction: choices: - none - block - log - stats description: - 'One or more XML Validation actions. Available settings function as follows:' - '* Block - Block connections that violate 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 -XMLValidationAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -XMLValidationAction C(none)".' elements: str type: list bufferoverflowaction: choices: - none - block - log - stats description: - 'One or more Buffer Overflow actions. Available settings function as follows:' - '* Block - Block connections that violate 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 -bufferOverflowAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -bufferOverflowAction C(none)".' elements: str type: list creditcardmaxallowed: description: - This parameter value is used by the block action. It represents the maximum number of credit card numbers that can appear on a web page served by your protected web sites. Pages that contain more credit card numbers are blocked. type: float fakeaccountdetection: choices: - 'ON' - 'OFF' description: - 'Fake account detection flag : C(ON)/C(OFF). If set to C(ON) fake account detection in enabled on ADC, if set to C(OFF) fake account detection is disabled.' type: str jsoncmdinjectiontype: choices: - CMDSplChar - CMDKeyword - CMDSplCharORKeyword - CMDSplCharANDKeyword - None description: - Available CMD injection types. - '-C(CMDSplChar) : Checks for CMD Special Chars' - '-C(CMDKeyword) : Checks for CMD Keywords' - '-C(CMDSplCharANDKeyword) : Checks for both and blocks if both are found' - '-C(CMDSplCharORKeyword) : Checks for both and blocks if anyone is found,' - '-C(None) : Disables checking using both SQL Special Char and Keyword' type: str jsonsqlinjectiontype: choices: - SQLSplChar - SQLKeyword - SQLSplCharORKeyword - SQLSplCharANDKeyword - None description: - Available SQL injection types. - '-C(SQLSplChar) : Checks for SQL Special Chars' - '-C(SQLKeyword) : Checks for SQL Keywords' - '-C(SQLSplCharANDKeyword) : Checks for both and blocks if both are found' - '-C(SQLSplCharORKeyword) : Checks for both and blocks if anyone is found,' - '-C(None) : Disables checking using both SQL Special Char and Keyword' type: str multipleheaderaction: choices: - block - keepLast - log - none description: - 'One or more multiple header actions. Available settings function as follows:' - '* Block - Block connections that have multiple headers.' - '* Log - Log connections that have multiple headers.' - '* KeepLast - Keep only last header when multiple headers are present.' - '' - 'Request headers inspected:' - '* Accept-Encoding' - '* Content-Encoding' - '* Content-Range' - '* Content-Type' - '* Host' - '* Range' - '* Referer' - '' - 'CLI users: To enable one or more actions, type "set appfw profile -multipleHeaderAction" followed by the actions to be enabled.' elements: str type: list sqlinjectionruletype: choices: - ALLOW - DENY description: - 'Specifies SQL Injection rule type: C(ALLOW)/C(DENY). If C(ALLOW) rule type is configured then allow list rules are used, if C(DENY) rule type is configured then deny rules are used.' type: str cookiehijackingaction: choices: - none - block - log - stats description: - 'One or more actions to prevent cookie hijacking. Available settings function as follows:' - '* Block - Block connections that violate 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.' - 'NOTE: Cookie Hijacking feature is not supported for TLSv1.3' - '' - 'CLI users: To enable one or more actions, type "set appfw profile -cookieHijackingAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -cookieHijackingAction C(none)".' elements: str type: list fileuploadtypesaction: choices: - none - block - log - stats description: - 'One or more file upload types actions. Available settings function as follows:' - '* Block - Block connections that violate 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 -fileUploadTypeAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -fileUploadTypeAction C(none)".' elements: str type: list sessionlessurlclosure: choices: - 'ON' - 'OFF' description: - Enable session less URL Closure Checks. - 'This check is applicable to Profile Type: HTML.' type: str xmlerrorstatusmessage: description: - Response status message associated with XML error page type: str xmlsqlinjectionaction: choices: - none - block - log - stats description: - 'One or more XML SQL Injection actions. Available settings function as follows:' - '* Block - Block connections that violate 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 -XMLSQLInjectionAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -XMLSQLInjectionAction C(none)".' elements: str type: list defaultfieldformattype: description: - Designate a default field type to be applied to web form fields that do not have a field type explicitly assigned to them. type: str fieldconsistencyaction: choices: - none - block - learn - log - stats description: - 'One or more Form Field Consistency 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 -fieldConsistencyaction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -fieldConsistencyAction C(none)".' elements: str type: list htmlerrorstatusmessage: description: - Response status message associated with HTML error page type: str invalidpercenthandling: choices: - asp_mode - secure_mode description: - 'Configure the method that the application firewall uses to handle percent-encoded names and values. Available settings function as follows:' - '* C(asp_mode) - Microsoft ASP format.' - '* C(secure_mode) - Secure format.' type: str jsonblockkeywordaction: choices: - none - block - log - stats description: - 'JSON Block Keyword action. Available settings function as follows:' - '* Block - Block connections that violate 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 -JSONBlockKeywordAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -JSONBlockKeywordAction C(none)".' elements: str type: list jsoncmdinjectionaction: choices: - none - block - log - stats description: - 'One or more JSON CMD Injection actions. Available settings function as follows:' - '* Block - Block connections that violate 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 -JSONCMDInjectionAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -JSONCMDInjectionAction C(none)".' elements: str type: list jsonerrorstatusmessage: description: - Response status message associated with JSON error page type: str jsonsqlinjectionaction: choices: - none - block - log - stats description: - 'One or more JSON SQL Injection actions. Available settings function as follows:' - '* Block - Block connections that violate 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 -JSONSQLInjectionAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -JSONSQLInjectionAction C(none)".' elements: str type: list postbodylimitsignature: description: - Maximum allowed HTTP post body size for signature inspection for location HTTP_POST_BODY in the signatures, in bytes. Note that the changes in value could impact CPU and latency profile. type: float cookieconsistencyaction: choices: - none - block - learn - log - stats description: - 'One or more Cookie Consistency 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 -cookieConsistencyAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -cookieConsistencyAction C(none)".' elements: str type: list cookiesamesiteattribute: choices: - None - LAX - STRICT description: - Cookie Samesite attribute added to support adding cookie SameSite attribute for all set-cookies including appfw session cookies. Default value will be "SameSite=Lax". type: str jsoncmdinjectiongrammar: choices: - 'ON' - 'OFF' description: - Check for CMD injection using CMD grammar in JSON type: str jsonsqlinjectiongrammar: choices: - 'ON' - 'OFF' description: - Check for SQL injection using SQL grammar in JSON type: str semicolonfieldseparator: choices: - 'ON' - 'OFF' description: - Allow ';' as a form field separator in URL queries and POST form bodies. type: str urldecoderequestcookies: choices: - 'ON' - 'OFF' description: - URL Decode request cookies before subjecting them to SQL and cross-site scripting checks. type: str as_prof_deny_list_enable: choices: - 'ON' - 'OFF' description: - Enable deny list for the profile. type: str canonicalizehtmlresponse: choices: - 'ON' - 'OFF' description: - Perform HTML entity encoding for any special characters in responses sent by your protected web sites. type: str crosssitescriptingaction: choices: - none - block - learn - log - stats description: - 'One or more Cross-Site Scripting (XSS) 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 -crossSiteScriptingAction" followed by the actions to be enabled. To turn off all actions, type "set appfw profile -crossSiteScriptingAction C(none)".' elements: str type: list inspectquerycontenttypes: choices: - HTML - XML - JSON - OTHER description: - Inspect request query as well as web forms for injected SQL and cross-site scripts for following content types. elements: str type: list percentdecoderecursively: choices: - 'ON' - 'OFF' description: - Configure whether the application firewall should use percentage recursive decoding type: str dosecurecreditcardlogging: choices: - 'ON' - 'OFF' description: - Setting this option logs credit card numbers in the response when the match is found. type: str sqlinjectionparsecomments: choices: - checkall - ansi - nested - ansinested description: - 'Parse HTML comments and exempt them from the HTML SQL Injection check. You must specify the type of comments that the application firewall is to detect and exempt from this security check. Available settings function as follows:' - '* Check all - Check all content.' - '* ANSI - Exempt content that is part of an ANSI (Mozilla-style) comment.' - '* Nested - Exempt content that is part of a C(nested) (Microsoft-style) comment.' - '* ANSI Nested - Exempt content that is part of any type of comment.' type: str as_prof_bypass_list_enable: choices: - 'ON' - 'OFF' description: - Enable bypass list for the profile. type: str bufferoverflowmaxurllength: description: - Maximum length, in characters, for URLs on your protected web sites. Requests with longer URLs are blocked. type: float appfwprofile_xmlxss_binding: description: Bindings for appfwprofile_xmlxss_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict defaultfieldformatmaxlength: description: - Maximum length, in characters, for data entered into a field that is assigned the default field type. type: float defaultfieldformatminlength: description: - Minimum length, in characters, for data entered into a field that is assigned the default field type. - To disable the minimum and maximum length settings and allow data of any length to be entered into the field, set this parameter to zero (0). type: float excludefileuploadfromchecks: choices: - 'ON' - 'OFF' description: - Exclude uploaded files from Form checks. type: str sessionlessfieldconsistency: choices: - 'OFF' - 'ON' - postOnly description: - Perform sessionless Field Consistency Checks. type: str appfwprofile_csrftag_binding: description: Bindings for appfwprofile_csrftag_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_denyurl_binding: description: Bindings for appfwprofile_denyurl_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict bufferoverflowmaxquerylength: description: - Maximum length, in bytes, for query string sent to your protected web sites. Requests with longer query strings are blocked. type: float xmlsqlinjectionparsecomments: choices: - checkall - ansi - nested - ansinested description: - 'Parse comments in XML Data and exempt those sections of the request that are from the XML SQL Injection check. You must configure the type of comments that the application firewall is to detect and exempt from this security check. Available settings function as follows:' - '* Check all - Check all content.' - '* ANSI - Exempt content that is part of an ANSI (Mozilla-style) comment.' - '* Nested - Exempt content that is part of a C(nested) (Microsoft-style) comment.' - '* ANSI Nested - Exempt content that is part of any type of comment.' type: str appfwprofile_denylist_binding: description: Bindings for appfwprofile_denylist_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_starturl_binding: description: Bindings for appfwprofile_starturl_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict bufferoverflowmaxcookielength: description: - Maximum length, in characters, for cookies sent to your protected web sites. Requests with longer cookies are blocked. type: float bufferoverflowmaxheaderlength: description: - Maximum length, in characters, for HTTP headers in requests sent to your protected web sites. Requests with longer headers are blocked. type: float insertcookiesamesiteattribute: choices: - 'ON' - 'OFF' description: - Configure whether application firewall should add samesite attribute for set-cookies type: str sqlinjectionchecksqlwildchars: choices: - 'ON' - 'OFF' description: - Check for form fields that contain SQL wild chars . type: str appfwprofile_xmldosurl_binding: description: Bindings for appfwprofile_xmldosurl_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_xmlwsiurl_binding: description: Bindings for appfwprofile_xmlwsiurl_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_bypasslist_binding: description: Bindings for appfwprofile_bypasslist_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_jsoncmdurl_binding: description: Bindings for appfwprofile_jsoncmdurl_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_jsondosurl_binding: description: Bindings for appfwprofile_jsondosurl_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_jsonsqlurl_binding: description: Bindings for appfwprofile_jsonsqlurl_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_jsonxssurl_binding: description: Bindings for appfwprofile_jsonxssurl_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_safeobject_binding: description: Bindings for appfwprofile_safeobject_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_contenttype_binding: description: Bindings for appfwprofile_contenttype_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_fakeaccount_binding: description: Bindings for appfwprofile_fakeaccount_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_fieldformat_binding: description: Bindings for appfwprofile_fieldformat_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict infercontenttypexmlpayloadaction: choices: - block - log - stats - none description: - '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 C(none)". Please note "C(none)" action cannot be used with any other action type.' elements: str type: list xmlsqlinjectionchecksqlwildchars: choices: - 'ON' - 'OFF' description: - Check for form fields that contain SQL wild chars . type: str appfwprofile_blockkeyword_binding: description: Bindings for appfwprofile_blockkeyword_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_cmdinjection_binding: description: Bindings for appfwprofile_cmdinjection_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_sqlinjection_binding: description: Bindings for appfwprofile_sqlinjection_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict sqlinjectiontransformspecialchars: choices: - 'ON' - 'OFF' description: - Transform injected SQL code. This setting configures the application firewall to disable SQL special strings instead of blocking the request. Since most SQL servers require a special string to activate an SQL keyword, in most cases a request that contains injected SQL code is safe if special strings are disabled. - 'CAUTION: Make sure that this parameter is set to C(ON) if you are configuring any SQL injection transformations. If it is set to C(OFF), no SQL injection transformations are performed regardless of any other settings.' type: str appfwprofile_logexpression_binding: description: Bindings for appfwprofile_logexpression_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict bufferoverflowmaxtotalheaderlength: description: - Maximum length, in bytes, for the total HTTP header length in requests sent to your protected web sites. The minimum value of this and maxHeaderLen in httpProfile will be used. Requests with longer length are blocked. type: float appfwprofile_fileuploadtype_binding: description: Bindings for appfwprofile_fileuploadtype_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict crosssitescriptingcheckcompleteurls: choices: - 'ON' - 'OFF' description: - Check complete URLs for cross-site scripts, instead of just the query portions of URLs. type: str exemptclosureurlsfromsecuritychecks: choices: - 'ON' - 'OFF' description: - Exempt URLs that pass the Start URL closure check from SQL injection, cross-site script, field format and field consistency security checks at locations other than headers. type: str appfwprofile_xmlsqlinjection_binding: description: Bindings for appfwprofile_xmlsqlinjection_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_appfwconfidfield_binding: description: Bindings for appfwprofile_appfwconfidfield_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_creditcardnumber_binding: description: Bindings for appfwprofile_creditcardnumber_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_fieldconsistency_binding: description: Bindings for appfwprofile_fieldconsistency_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_jsonblockkeyword_binding: description: Bindings for appfwprofile_jsonblockkeyword_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_xmlattachmenturl_binding: description: Bindings for appfwprofile_xmlattachmenturl_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_xmlvalidationurl_binding: description: Bindings for appfwprofile_xmlvalidationurl_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict crosssitescriptingtransformunsafehtml: choices: - 'ON' - 'OFF' description: - Transform cross-site scripts. This setting configures the application firewall to disable dangerous HTML instead of blocking the request. - 'CAUTION: Make sure that this parameter is set to C(ON) if you are configuring any cross-site scripting transformations. If it is set to C(OFF), no cross-site scripting transformations are performed regardless of any other settings.' type: str appfwprofile_cookieconsistency_binding: description: Bindings for appfwprofile_cookieconsistency_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict appfwprofile_crosssitescripting_binding: description: Bindings for appfwprofile_crosssitescripting_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict sqlinjectiononlycheckfieldswithsqlchars: choices: - 'ON' - 'OFF' description: - Check only form fields that contain SQL special strings (characters) for injected SQL code. - Most SQL servers require a special string to activate an SQL request, so SQL code without a special string is harmless to most SQL servers. type: str appfwprofile_excluderescontenttype_binding: description: Bindings for appfwprofile_excluderescontenttype_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict xmlsqlinjectiononlycheckfieldswithsqlchars: choices: - 'ON' - 'OFF' description: - Check only form fields that contain SQL special characters, which most SQL servers require before accepting an SQL command, for injected SQL. type: str appfwprofile_trustedlearningclients_binding: description: Bindings for appfwprofile_trustedlearningclients_binding resource suboptions: binding_members: default: [] description: List of binding members elements: dict type: list mode: choices: - desired - bind - unbind default: desired description: - The mode in which to configure the bindings. - If mode is set to C(desired), the bindings will be added or removed from the target NetScaler ADCs as necessary to match the bindings specified in the state. - If mode is set to C(bind), the specified bindings will be added to the resource. The existing bindings in the target ADCs will not be modified. - If mode is set to C(unbind), the specified bindings will be removed from the resource. The existing bindings in the target ADCs will not be modified. type: str type: dict
changed: description: Indicates if any change is made by the module returned: always sample: true type: bool diff: description: Dictionary of before and after changes returned: always sample: after: key2: pqr before: key1: xyz prepared: changes done type: dict diff_list: description: List of differences between the actual configured object and the configuration specified in the module returned: when changed sample: - 'Attribute `key1` differs. Desired: (<class ''str''>) XYZ. Existing: (<class ''str''>) PQR' type: list failed: description: Indicates if the module failed or not returned: always sample: false type: bool loglines: description: list of logged messages by the module returned: always sample: - message 1 - message 2 type: list