Table of Contents

Search

  1. Preface
  2. Introduction to Dynamic Data Masking Administration
  3. Authentication
  4. Security
  5. Connection Management
  6. JDBC Client Configuration
  7. ODBC Client Configuration
  8. Configuration for MicroStrategy
  9. Access Control
  10. Logs
  11. High Availability
  12. Server Control
  13. Performance Tuning
  14. Troubleshooting
  15. Appendix A: Database Keywords

Administrator Guide

Administrator Guide

Defining the CURRENT_PATH Symbol

Defining the CURRENT_PATH Symbol

If you use the SET SEARCH_PATH = <schema name> command to switch between schema, define the CURRENT_PATH symbol to capture the former command.
Create a security rule with the following properties to set the current schema:
  1. Go to the
    Edit Rule
    page.
  2. In the
    Rule Name
    field, enter a name such as
    CURRENT_PATH
    .
  3. In the
    Matcher
    section, perform the following steps:
    1. Set the
      Matching Method
      property to
      Text
      .
    2. Set the
      Identification Method
      property to
      Regular Expression
      .
    3. Enter the following text in the
      Text
      field:
      \s*SET\s*SEARCH_PATH\s*=\s*(.*)
  4. In the
    Action
    section, perform the following steps:
    1. Set the
      Action Type
      field to
      Define Symbol
      .
    2. Create the CURRENT_PATH symbol.
    3. Enter
      \(1)
      in the
      Symbol Value
      column.
    4. Specify
      Yes
      in the
      Keep Per Session
      column.
  5. Select the
    Log When Rule is Applied
    check box to create a line in the
    rule.log
    file when the Rule Engine applies the rule.
Example
The following image shows an example definition of the CURRENT_PATH symbol on the
Edit Rule
page:

0 COMMENTS

We’d like to hear from you!