ltm rule command BOTDEFENSE reasonΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



BOTDEFENSE::reason
       Returns the reason for the Bot Defense action, and the detected Bot
       Signature.

SYNOPSIS
       BOTDEFENSE::reason

DESCRIPTION
       Returns the reason that lead Bot Defense to decide on the action to be
       taken (the action that is specified in BOTDEFENSE::action).

       The returned reason will include the Bot Signature and the Bot
       Signature Category, if a bot signature was detected on the request.
       This applies to Bot Signatures configured for blocking or reporting,
       and including Search Engines.

       Syntax

       BOTDEFENSE::reason

RETURN VALUE
       Returns a string signifying the reason for the Bot Defense action.

VALID DURING
       BOTDEFENSE_ACTION

EXAMPLES
	# EXAMPLE: Send the Bot Defense action and reason to High Speed Logging
	when BOTDEFENSE_ACTION {
	    HSL::send $hsl "action [BOTDEFENSE::action] reason \"[BOTDEFENSE::reason]\""
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-12.1 --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)