Fortinet white logo
Fortinet white logo

CLI Reference

waf hidden-fields-protection

waf hidden-fields-protection

Use this command to configure groups of hidden field rules.

To apply hidden field rule groups, select them within an inline protection profile. For details, see waf web-protection-profile inline-protection.

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 hidden-fields-protection

edit "<hidden-field-group_name>"

config hidden_fields_list

edit <entry_index>

set hidden-field-rule "<hidden-field-rule_name>"

next

end

next

end

Variable Description Default

"<hidden-field-group_name>"

Enter the name of a new or existing hidden field rule group. The maximum length is 63 characters.

To display the list of existing groups, enter:

edit ?

No default.

<entry_index>

Enter the index number of the individual entry in the table. The valid range is 1–9,999,999,999,999,999,999. No default.

hidden-field-rule "<hidden-field-rule_name>"

Enter the name of an existing hidden field rule to add to the group. The maximum length is 63 characters.

To display the list of existing rules, enter:

set hidden-field-rule ?

No default.

Related topics

waf hidden-fields-protection

waf hidden-fields-protection

Use this command to configure groups of hidden field rules.

To apply hidden field rule groups, select them within an inline protection profile. For details, see waf web-protection-profile inline-protection.

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 hidden-fields-protection

edit "<hidden-field-group_name>"

config hidden_fields_list

edit <entry_index>

set hidden-field-rule "<hidden-field-rule_name>"

next

end

next

end

Variable Description Default

"<hidden-field-group_name>"

Enter the name of a new or existing hidden field rule group. The maximum length is 63 characters.

To display the list of existing groups, enter:

edit ?

No default.

<entry_index>

Enter the index number of the individual entry in the table. The valid range is 1–9,999,999,999,999,999,999. No default.

hidden-field-rule "<hidden-field-rule_name>"

Enter the name of an existing hidden field rule to add to the group. The maximum length is 63 characters.

To display the list of existing rules, enter:

set hidden-field-rule ?

No default.

Related topics