Fortinet black logo

CLI Reference

waf xml-dtd

waf xml-dtd

Use this command to view DTD files that have already been uploaded to FortiWeb. You can upload DTD files only in the web UI through the XML DTD tab in Web Protection > XML Protection.

A Document Type Definition (DTD) is a specification that defines the structure, legal elements, and attributes of an XML document. By importing a DTD file, you can validate an XML request to ensure it adheres to the specified rules and constraints outlined in the DTD.

XML DTD files are included in XML protection rules. XML protection rules define acceptable parameters for XML content in HTTP requests. Groups of XML protection rules are grouped into XML protection policies. For details, see waf xml-validation.

To use this command, your administrator account’s access control profile must have either w or rw permission to the wafgrp area. For details, see Permissions.

Syntax

config waf xml-dtd file

edit waf xml-dtd

end

Variable

Description

Default

"<xml_dtd_file_name>"

To display a list of existing XML DTD files, enter:

edit ?

No default.

Related topics

waf xml-dtd

Use this command to view DTD files that have already been uploaded to FortiWeb. You can upload DTD files only in the web UI through the XML DTD tab in Web Protection > XML Protection.

A Document Type Definition (DTD) is a specification that defines the structure, legal elements, and attributes of an XML document. By importing a DTD file, you can validate an XML request to ensure it adheres to the specified rules and constraints outlined in the DTD.

XML DTD files are included in XML protection rules. XML protection rules define acceptable parameters for XML content in HTTP requests. Groups of XML protection rules are grouped into XML protection policies. For details, see waf xml-validation.

To use this command, your administrator account’s access control profile must have either w or rw permission to the wafgrp area. For details, see Permissions.

Syntax

config waf xml-dtd file

edit waf xml-dtd

end

Variable

Description

Default

"<xml_dtd_file_name>"

To display a list of existing XML DTD files, enter:

edit ?

No default.

Related topics