waf json-schema
Use this command to view JSON schema files that have already been uploaded to FortiWeb. You can upload JSON schema files only in the web UI.
You can reference the JSON schema file in a JSON protection rule, or add multiple JSON schema files in a group (Config waf json-schema group
) then reference it in JSON protection rule.
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 json-schema file
edit "<json_schema_file_name>"
set json-schema-version {Auto-identify | Draft-3| Draft-4| Draft-6| Draft-7| Draft-201909| Draft-202012}
next
end
Variable |
Description |
Default |
---|---|---|
To display a list of existing JSON schema files, enter: edit ? |
No default. | |
json-schema-version {Auto-identify | Draft-3| Draft-4| Draft-6| Draft-7| Draft-201909| Draft-202012} |
Select a JSON schema version. The system will check if schema file is valid against the specified version. If your select |
|
Related topics