ltm rule command BOTDEFENSE bot nameΒΆ

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

BOTDEFENSE::bot_name
       Returns the name assigned to the detected bot, browser or mobile application.

SYNOPSIS
       BOTDEFENSE::bot_name

DESCRIPTION
       Returns the name assigned to the detected bot, browser or mobile application. The name is derived from the
       detected signature if detected, or the User-Agent string in combination with the detected anomalies.

       Syntax

       BOTDEFENSE::bot_name

RETURN VALUE
       The name assigned to the bot, browser or mobile application that sent the request.

VALID DURING
       BOTDEFENSE_ACTION

EXAMPLES
	# EXAMPLE: Log the Bot name and Device ID of the client, upon each request, if it is known.
	when BOTDEFENSE_ACTION {
	    log local0.info "Bot [BOTDEFENSE::bot_name] with Device ID [ BOTDEFENSE::device_id] from IP [ IP::client_addr ] visited [HTTP::uri ]"
	}

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

BIG-IP						      2020-06-23					     iRule(1)