Fortinet white logo
Fortinet white logo

CLI Reference

waf json-schema group

waf json-schema group

Use this command to group multiple JSON Schemas together. The schema group can be referenced in a JSON Protection Rule. If a request does not match any of the schema in the group it will be considered as a violation.

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 group

edit <json-schema-group-name>

config members

edit 1

set member-name <schema-name1>

next

edit 2

set member-name <schema-name2>

next

end

end

end

Variable

Description

Default

<json-schema-group-name>

Enter a name for the JSON schema group.

No default.

member-name <schema-name>

select a JSON Schema you have created through config waf json-schema file.

No default.

Related topics

waf json-schema group

waf json-schema group

Use this command to group multiple JSON Schemas together. The schema group can be referenced in a JSON Protection Rule. If a request does not match any of the schema in the group it will be considered as a violation.

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 group

edit <json-schema-group-name>

config members

edit 1

set member-name <schema-name1>

next

edit 2

set member-name <schema-name2>

next

end

end

end

Variable

Description

Default

<json-schema-group-name>

Enter a name for the JSON schema group.

No default.

member-name <schema-name>

select a JSON Schema you have created through config waf json-schema file.

No default.

Related topics