BOTDEFENSE::cs_attribute

Description

Queries for or sets attributes for the client-side challenge. These attributes are only effective if a client-side action is taken on the current request. Otherwise, these attributes are silently ignored.
Syntax

Warning

Deprecated in BIG-IP Next v20.0.1


BOTDEFENSE::cs_attribute device_id [enable | disable]

  • Sets or gets the value of the “device_id” attribute. When enabled, the client-side challenge will collect data from the client and attempt to retrieve the device_id.

Syntax

BOTDEFENSE::cs_attribute 'device_id' (BOOLEAN)?

Return Value

  • When called without any arguments, returns the value of the requested attribute.
  • When called with an argument, the requested attribute is overridden, and no value is returned.

Valid During

BOTDEFENSE_REQUEST, BOTDEFENSE_ACTION

Examples

# EXAMPLE: Make sure that the data for the device_id is always collected when taking a client-side action.
 when BOTDEFENSE_REQUEST {
     BOTDEFENSE::cs_attribute device_id 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.