.. _waf_template_xml_check: waf template xml-check ====================== XML check xml-check Specification ----------------------- ===================================== ====================================================================== **Parameter** **Value** ===================================== ====================================================================== **Type** *Configuration Resource* **Element Name** xml-check **Element URI** /axapi/v3/waf/template/{name}/xml-check **Element Attributes** xml-check_attributes **Partition Visibility** shared **Schema** :download:`xml-check schema ` ===================================== ====================================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/waf/template/{name}/xml-check .. raw:: html :ref:`3287_xml-check_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/waf/template/{name}/xml-check .. raw:: html :ref:`3287_xml-check_attributes` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/waf/template/{name}/xml-check .. raw:: html :ref:`3287_xml-check_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/waf/template/{name}/xml-check .. raw:: html :ref:`3287_xml-check_attributes` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/waf/template/{name}/xml-check .. raw:: html :ref:`3287_xml-check_attributes` .. raw:: html
.. _3287_xml-check_attributes: xml-check attributes -------------------- **disable** **Description** Disable all checks for XML limit **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **format** **Description** Check HTTP body for XML format compliance **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **max-attr** **Description** Maximum number of attributes of an XML element (default 256) **Type:** number **Range:** 0-256 **Default:** 256 **max-attr-name-len** **Description** Maximum length of an attribute name (default 128) **Type:** number **Range:** 0-2048 **Default:** 128 **max-attr-value-len** **Description** Maximum length of an attribute text value (default 128) **Type:** number **Range:** 0-4096 **Default:** 128 **max-cdata-len** **Description** Maximum length of an CDATA section of an element (default 65535) **Type:** number **Range:** 0-65535 **Default:** 65535 **max-elem** **Description** Maximum number of XML elements (default 1024) **Type:** number **Range:** 0-8192 **Default:** 1024 **max-elem-child** **Description** Maximum number of children of an XML element (default 1024) **Type:** number **Range:** 0-4096 **Default:** 1024 **max-elem-depth** **Description** Maximum recursion level for element definition (default 256) **Type:** number **Range:** 0-4096 **Default:** 256 **max-elem-name-len** **Description** Maximum length for an element name (default 128) **Type:** number **Range:** 0-65535 **Default:** 128 **max-entity-decl** **Description** Maximum number of entity declarations (default 1024) **Type:** number **Range:** 0-1024 **Default:** 1024 **max-entity-depth** **Description** Maximum depth of entities (default 32) **Type:** number **Range:** 0-32 **Default:** 32 **max-entity-exp** **Description** Maximum number of entity expansions (default 1024) **Type:** number **Range:** 0-1024 **Default:** 1024 **max-entity-exp-depth** **Description** Maximum nested depth of entity expansions (default 32) **Type:** number **Range:** 0-32 **Default:** 32 **max-namespace** **Description** Maximum number of namespace declarations (default 16) **Type:** number **Range:** 0-256 **Default:** 16 **max-namespace-uri-len** **Description** Maximum length of a namespace URI (default 256) **Type:** number **Range:** 0-1024 **Default:** 256 **sqlia** **Description** Check XML data against SQLIA policy **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters **xss** **Description** Check XML data against XSS policy **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0