ltm rule command BOTDEFENSE previous actionΒΆ

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



BOTDEFENSE::previous_action
       Returns the Device ID of the client, as retrieved from the request.

SYNOPSIS
       BOTDEFENSE::previous_action

DESCRIPTION
       Returns the action taken by the previous request; this is applicable if
       the current request is a follow-up to a challenge.

       Syntax

       BOTDEFENSE::previous_action

RETURN VALUE
       The values are the same values as in the BOTDEFENSE::action command, or
       the value "undetermined" if this is not a follow-up to a challenge.

VALID DURING
       BOTDEFENSE_REQUEST, BOTDEFENSE_ACTION

EXAMPLES
	# EXAMPLE: Log the previous action.
	when BOTDEFENSE_REQUEST {
	    set log "botdefense previous action is"
	    append log " [BOTDEFENSE::previous_action]"
	    HSL::send $hsl $log
	}

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



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