Bug ID 531719: CATEGORY::lookup iRule command does not support Custom Categories

Last Modified: Sep 13, 2023

Affected Product(s):
BIG-IP APM, SWG(all modules)

Known Affected Versions:
11.6.0, 11.6.1, 11.6.2, 11.6.3, 11.6.3.1, 11.6.3.2, 11.6.3.3, 11.6.3.4, 11.6.4, 11.6.5, 11.6.5.1, 11.6.5.2, 11.6.5.3, 12.0.0, 12.0.0 HF1, 12.1.0 HF1, 12.0.0 HF2, 12.1.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2

Fixed In:
12.1.0

Opened: Jul 03, 2015

Severity: 3-Major

Symptoms

When using the CATEGORY::lookup command in an iRule to retrieve a classification for a URL, only categories matched in the URL database are returned.

Impact

Administrators can not use CATEGORY::lookup to retrieve a classification from a custom category if the URL is assigned to one.

Conditions

URL Filtering or SWG Subscription is licensed and Secure Web Gateway module is provisioned (along with APM).

Workaround

N/A

Fix Information

When using the CATEGORY::lookup command in an iRule to retrieve a classification for a URL, only categories matched in the URL database are returned. Starting in version 12.1, there are new flags available to be used as follows: CATEGORY::lookup - returns the same results as previous versions (list of all Websense categories, but no custom categories) CATEGORY::lookup request_default_and_custom - returns a list of all Websense categories as well as all custom categories CATEGORY::lookup request_default - returns a list of all Websense categories CATEGORY::lookup custom - returns a list of all custom categories

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips