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

Warning

Deprecated in BIG-IP Next v20.0.1


Syntax

BOTDEFENSE::reason

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]\""
 }

Change Log

  • Introduced: BIGIP-12.1
  • Deprecated: BIGIP-20.0.1

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.