ltm rule command BOTDEFENSE enable
iRule(1) BIG-IP TMSH Manual iRule(1)
BOTDEFENSE::enable
Enables processing by Bot Defense on the connection.
SYNOPSIS
BOTDEFENSE::enable
DESCRIPTION
Enables processing and blocking of the request by Bot Defense, for the
duration of the current TCP connection, or until BOTDEFENSE::disable is
called.
Syntax
BOTDEFENSE::enable
RETURN VALUE
VALID DURING
ALL_EVENTS, CLIENT_ACCEPTED, HTTP_REQUEST
EXAMPLES
# EXAMPLE: Re-enable Bot Defense on the connection if a request arrives with a certain URL prefix.
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/t/"} {
BOTDEFENSE::enable
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-12.1 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)