waf mitb-rule
Use this command to configure MiTB rules.
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 mitb-rule
edit mitb-rule_name
set action {alert| alert_deny}
set severity {High | Medium | Low | Info}
set trigger "<trigger-policy_name>"
set host-status {enable | disable}
set request-url "<request-url_str>"
set request-type {plain | regular}
edit protected-parameter-list_name
set type {regular-input | password-input}
set obfuscate {enable | disable}
set encrypt {enable | disable}
set anti-keyLogger {enable | disable}
next
end
config allowed-external-domains-list
edit allowed-external-domains-list_id
next
end
Variable | Description | Default |
Enter a name that can be referenced by other parts of the configuration. | No default. | |
Select the action the FortiWeb appliance takes when it detects a
violation of the rule: Alert—Accept the connection and generate an alert email and/or log message. Alert & Deny—Block the request (or reset the connection) and generate an alert and/or log message. |
Alert
|
|
Select which severity level the FortiWeb appliance will use when it logs a violation of the rule. |
Low
|
|
Select which trigger, if any, that the FortiWeb appliance will use when it logs and/or sends an alert email about a violation of the rule. | No default. | |
Enable to compare the MiTB rule to the Host: field in the HTTP header. |
No default. | |
Select the IP address or FQDN of a protected host. | No default. | |
The URL hosting the webpage which contains the parameters (field names or passwords) you want to protect. | No default. | |
Select either of the URL types. |
plain
|
|
Enter the URL triggered after you submit your access request. | No default. | |
Enter the protected parameter list name. | No default. | |
Select the input type to carry out the protection. |
regular-input
|
|
Enable to obfuscate the configured parameter name. | No default. | |
Enable to encrypt the parameter value. | No default. | |
Enable anti-keyLogger to prevent hackers from intercepting your password input. | No default. | |
Enter the allowed external domain list ID. | No default. | |
Set the domain, for example, www.alloweddomain.com. | No default. |