Grammar

Overall syntax and grammar used for creating advanced session-level policies.

Write advanced session-level policies using the basic format:
SR POLICIES {

     [TUPLES_GROUP1, ... TUPLES_GROUPn]

     #RULE 1 
     IF ( <conditions> )
     {
          ACTION1
          ......
          ACTIONn
     }

     ................

     #RULE m 
     IF ( <conditions> )
     {
          ACTION1
          ......
          ACTIONm
     }

     [GROUP1, ...... GROUPk]
The complete advanced session-level policies scripting language (SR language) is expressed as:
  • Mandatory fields: <...>
  • Optional fields: [...]
  • Allowed values separated by: |
  • Rules, conditions, actions, tuples, and groups may contain one or more values.
To view the scripting language grammar, take the following steps:
  1. Browse to the Guardium Security Policies > Create New Policy page.
  2. Click Advanced session level policy.
  3. Enter a new name for the policy and then click Rules.
  4. From the top of the scripting worksheet, click Show Grammar.