config security waf input-validation-policy
Input validation can prevent suspicious HTTP requests. This command allows multiple rules for validations under one validation policy.
Syntax
configure security waf input-validation-policy
edit <name>
config file-restiction-rule-list
edit <No.>
set rule <datasource>
next
end
config hidden-field-rule-list
edit <No.>
set rule <datasource>
next
end
config parameter-validation-rule-list
edit <No.>
set rule <datasource>
next
end
next
end
file-restriction-rule-list |
multiple html file restriction rules |
hidden-field-rule-list |
multiple html hidden field rules |
parameter-validation-rule-list |
multiple html parameter validation rules |
rule |
rule for associated html rule list |
Example
FortiADC-VM # show security waf input-validation-policy
config security waf input-validation-policy
edit "1"
config parameter-validation-rule-list
edit 1
set rule 1
next
end
config hidden-field-rule-list
end
config file-restriction-rule-list
end
next
end