:source: fadcos_waf_xml_validation_detection.py :orphan: .. fadcos_waf_xml_validation_detection: fadcos_waf_xml_validation_detection -- Configuring XML Detection ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. versionadded:: 1.3.0 .. contents:: :local: :depth: 1 Synopsis -------- - Configuring XML Detection Requirements ------------ The below requirements are needed on the host that executes this module. - ansible>=2.8 FortiADC Version Compatibility ------------------------------ .. raw:: html
v7.1.4 v7.2.2 v7.4.0
fadcos_waf_xml_validation_detection yes yes yes

Parameters ---------- .. raw:: html

Examples -------- .. code-block:: yaml+jinja - name: hosts: all vars: connection: httpapi gather_facts: false tasks: - name: Add WAF xml_validation_detection fadcos_waf_xml_validation_detection: action: add name: xxx2 limit_max_attr: 256 limit_max_attr_name_len: 128 limit_max_attr_value_len: 128 limit_max_cdata_len: 65535 limit_max_elem_child: 65535 limit_max_elem_depth: 256 limit_max_elem_name_len: 128 limit_max_namespace: 16 limit_max_namespace_uri_len: 256 severity: low soap_format_checks: enable soap_wsdl_checks: enable xml_format_checks: enable xml_limit_checks: enable xml_schema_checks: enable - name: edit WAF xml_validation_detection fadcos_waf_xml_validation_detection: action: edit name: xxx2 limit_max_attr: 200 limit_max_attr_name_len: 200 limit_max_attr_value_len: 200 security_action: block - name: get WAF xml_validation_detection fadcos_waf_xml_validation_detection: action: get name: xxx2 - name: delete WAF xml_validation_detection fadcos_waf_xml_validation_detection: action: delete name: xxx1 Return Values ------------- Common return values are documented: https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values, the following are the fields unique to this module: .. raw:: html For errorcode please check FortiADC API errorcode at : https://fndn.fortinet.net/index.php?/fortiapi/981-fortiadc/ Status ------ - This module is not guaranteed to have a backwards compatible interface. Authors ------- - Joseph Chen .. hint:: If you notice any issues in this documentation, you can create a pull request to improve it.