Bug ID 654451: Compatibility in bot defense iRules reasons from version 12.1.0 to version 13.0.0 or later

Last Modified: Apr 20, 2022

Bug Tracker

Affected Product:  See more info
BIG-IP ASM, Install/Upgrade(all modules)

Known Affected Versions:
13.1.0,,,,,,,,, 13.1.1,,,,, 13.1.3,,,,,,, 13.1.4,, 13.1.5, 14.0.0,,,,,, 14.0.1,

Opened: Mar 30, 2017
Severity: 4-Minor


Some specific iRules that use BOTDEFENSE::reason that worked in version 12.1.0 stop working after an upgrade to 13.0.0 or later.


The iRules that use the bot defense reason string may fail to match the new string.


An iRule exists that matches the string of a bot defense reason, for example: if {([BOTDEFENSE::reason] eq "passed browser challenge" ...


You can manually update your iRules to use the correct bot defense reason string. Typically this is a matter of making the string case-insensitive. Here are some examples, but the list is extensive: From "Service to Other Module" to "Web-Scraping Detection". From "passed browser challenge" to "Passed Browser Challenge". From "passed captcha challenge" to "Passed CAPTCHA Challenge". From "whitelist" to "Whitelisted Transaction". For some of the reasons, a simple search and replace of: '[BOTDEFENSE::reason]' to '[string tolower [BOTDEFENSE::reason]]' would work

Fix Information


Behavior Change