Fortinet white logo
Fortinet white logo

CLI Reference

waf xml-schema

waf xml-schema

Use this command to view XML schema files that have already been uploaded to FortiWeb. You can upload XML schema files only in the web UI.

XML schema files specify the acceptable structure of an elements in an XML document. When you use XML schema files to check XML content in HTTP requests, FortiWeb can determine whether content is allowed and validate that content is well-formed.

XML schema 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-schema file

edit "<xml_schema_file_name>"

end

Variable

Description

Default

"<xml_schema_file_name>"

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

edit ?

No default.

Related topics

waf xml-schema

waf xml-schema

Use this command to view XML schema files that have already been uploaded to FortiWeb. You can upload XML schema files only in the web UI.

XML schema files specify the acceptable structure of an elements in an XML document. When you use XML schema files to check XML content in HTTP requests, FortiWeb can determine whether content is allowed and validate that content is well-formed.

XML schema 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-schema file

edit "<xml_schema_file_name>"

end

Variable

Description

Default

"<xml_schema_file_name>"

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

edit ?

No default.

Related topics