Placeholder variables available in Edge SWG and Cloud SWG (UPE)
search cancel

Placeholder variables available in Edge SWG and Cloud SWG (UPE)

book

Article ID: 277959

calendar_today

Updated On:

Products

ProxySG Software - SGOS Cloud Secure Web Gateway - Cloud SWG

Issue/Introduction

You need placeholder variable in Edge SWG to further transform values to be used.

Resolution

The following five boolean variables are available:

custom_var_bool_1

custom_var_bool_2

custom_var_bool_3

custom_var_bool_4

custom_var_bool_5

For for info, see tech docs

 

The following five string placeholder variables are available: 

custom_var_str_1

custom_var_str_2

custom_var_str_3

custom_var_str_4

custom_var_str_5

For for info, see tech docs

 

The following five integer placeholder variables are available:

custom_var_int_1

custom_var_int_2

custom_var_int_3

custom_var_int_4

custom_var_int_5

For for info, see tech docs

 

Example: Deny users who are on WSS agent version 9.7.1.22172

<proxy>

 

#if enforcement=wss

 

   define variable string custom_var_str_1("")

 

#endif

 

define condition client_versions

 

variable.custom_var_str_1="9.7.1.22172"

 

end condition

 

 

<Proxy set_var>

 

    variable.custom_var_str_1("$(x_client_agent_sw)")

 

 

<Proxy test_val>

 

   condition=client_versions deny