WAF:abandon_all()
Abandons all of the results detected by the WAF module, including all of the violations, and resets the action to "pass".
This command can only be called in the ATTACK_DETECTED event.
Syntax
WAF:abandon_all();
Arguments
N/A
Events
Applicable in all WAF events:
-
WAF_REQUEST_ATTACK_DETECTED
-
WAF_RESPONSE_ATTACK_DETECTED
Example
when WAF_REQUEST_ATTACK_DETECTED {
debug("test WAF_REQUEST_ATTACK_DETECTED\n")
WAF:abandon_all()
}
Supported Version
FortiADC version 6.2.x and later.