Detect local admin example
Use this policy to attach local admin sessions.
The following example uses a 1-parameter tuple. For more information about tuples, see Tuples.
Session level criteria:
- Session
In Group, where Group type = Tuples
- Tuple parameters = Session
- Members = A list of IP addresses
- Rule action: S-GATE SESSION ATTACH
SR language example
SR_POLICIES
{
TUPLES_GROUP_ID = 20008 TYPE = (SESSION ) SIZE = 1
{
'ADMIN'
}
IF (TUPLES = ('', 20008) SESSION = 'LOCAL' )
{
VERDICT_ATTACH
}
}