ltm rule command BOTDEFENSE bot categoriesΒΆ

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



BOTDEFENSE::bot_categories
       Returns the list of category names to which the current client belongs.
       These categories are determined by the anomalies found for the
       respective client. Note these categories are additional to the bot
       signature category which is applicable if a bot signature was found.

SYNOPSIS
       BOTDEFENSE::bot_categories

DESCRIPTION
       Returns the list of category names to which the current client belongs.
       These categories are determined by the anomalies found for the
       respective client. Note these categories are additional to the bot
       signature category which is applicable if a bot signature was found.

       Syntax

       BOTDEFENSE::bot_categories

RETURN VALUE
       Returns a list of all category names to which the current client
       belongs based on the anomalies found for the client. The categories
       come in addition to the bot signature category optionally detected and
       returned in BOTDEFENSE::bot_signature_category. If no anomaly found
       then the list will be empty.

VALID DURING
       BOTDEFENSE_ACTION

EXAMPLES
	when BOTDEFENSE_ACTION {
	    foreach {cat} [BOTDEFENSE::bot_categories] {
		log.local0. "Found category: $cat"
	    }
	}

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



BIG-IP				  2019-05-10			      iRule(1)