ADC

Advanced Policy Expressions for URL Evaluation

The following table describes the expressions you can use to evaluate incoming URLs with entries in an URL set.

Note: HTTP.REQ.URL is generalized to be used as <URL expression>

Expression Operation
<URL expression>.URLSET_MATCHES_ANY Evaluates to TRUE if the URL exactly matches any entry in the URL set.
<URL expression>.GET_URLSET_METADATA(<URLSET>) The GET_URLSET_METADATA() expression returns the associated metadata if the URL exactly matches any pattern within the URL set. An empty string is returned if there was no match.
<URL expression>.GET_URLSET_METADATA(<URLSET>).EQ(<METADATA> Evaluates to TRUE if the matched metadata is equal to <METADATA>.
<URL expression>.GET_URLSET_METADATA(<URLSET>).TYPECAST_LIST_T(‘,’).GET(0).EQ(<CATEGORY>) Evaluates to TRUE if the matched metadata is at the beginning of the category. This pattern can be used to encode separate fields within metadata, but match only the 1st field.
HTTP.REQ.HOSTNAME.APPEND(HTTP.REQ.URL) Joins the host and URL parameters, which can then be used as a <URL expression> for matching.
Advanced Policy Expressions for URL Evaluation