BOTDEFENSE::enable

Description

Enables processing and blocking of the request by Bot Defense, for the duration of the current TCP connection, or until BOTDEFENSE::disable is called.
Syntax
BOTDEFENSE::enable

Warning

Deprecated in BIG-IP Next v20.0.1


Syntax

BOTDEFENSE::enable

BOTDEFENSE::enable

Valid During

ALL_EVENTS, CLIENT_ACCEPTED, HTTP_REQUEST

Examples

# EXAMPLE: Re-enable Bot Defense on the connection if a request arrives with a certain URL prefix.
 when HTTP_REQUEST {
     if {[HTTP::uri] starts_with "/t/"} {
         BOTDEFENSE::enable
     }
 }

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.