ltm rule command BOTDEFENSE reasonΒΆ

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

BOTDEFENSE::reason
       Returns the reason for the Bot Defense action.

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).

       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							    2022-04-12							  iRule(1)