BOTDEFENSE::client_class¶
Description¶
This command returns the classification of the client based on the current request
and its browsing history. When invoked from BOTDEFENSE_REQUEST event the command
reflects the classification based on bot signature, or on the browser anomalies
found for this client (if any), if the client was initially classified as a
browser by its User-Agent string, or “unknown” in any other case. When invoked
from BOTDEFENSE_ACTION anomaly the command reflects the classification after fully
inspecting the current request.
Warning
Deprecated in BIG-IP Next v20.0.1
Syntax¶
BOTDEFENSE::client_class
Returns the classification of the client that sent the request. The returned value is one of the following strings:
- unknown
- browser
- mobile_application
- trusted_bot
- untrusted_bot
- malicious_bot
- suspicious_browser
The command is similar to BOTDEFENSE::client_type but
with higher resolution for bot classification: when BOTDEFENSE::client_type returns “bot”,
BOTDEFENSE::client_class returns the exact type of bot: malicious, trusted or untrusted.
Examples¶
when BOTDEFENSE_REQUEST {
log.local0. "Client type before processing request: [BOTDEFENSE::client_class]"
}
when BOTDEFENSE_ACTION {
log.local0. "Client type after processing request: [BOTDEFENSE::client_class]"
}