Table of Contents

Search

  1. Preface
  2. Introduction to Dynamic Data Masking
  3. Rules
  4. Connection Rules
  5. Security Rules
  6. Security Rule Set Simulator
  7. Masking Functions
  8. XML Functions Reference
  9. Glossary

Define Symbol Action

Define Symbol Action

Use the Define Symbol rule action to define symbols and set the symbol value.
You can define multiple symbols with the Define Symbol rule action. Symbol values can contain symbols that you previously defined.
To define a global symbol, enter Yes in the Keep Per Session field. A global symbol lasts throughout the client session and exists until the client disconnects from the database.
If you do not want the symbol to be a global symbol, enter No in the Keep Per Session field. If you enter No in the Keep Per Session field, the symbol exists only during the SQL request. To use the symbol value in the subsequent rules in the security rule set, select the Continue processing action. The Rule Engine continues to the next rule and uses the symbol replacements.
If you want to define a symbol value based on a symbol that you previously defined, use the expression
\(Symbol_name)
to call the symbol value.
The following table describes the Define Symbol rule action parameters:
Parameter
Description
Symbol Name
The name of the symbol. The symbol name must begin with a letter and can contain ASCII characters, numbers, and underscores.
Symbol Value
The value of the symbol.
Keep Per Session
Defines whether the symbol is a global symbol.
You can enter the following Keep Per Session values:
  • Yes. The symbol exists during the client session.
  • No. The symbol exists during the SQL request.