Uploaded image for project: 'Apache Submarine'
  1. Apache Submarine
  2. SUBMARINE-634

Spark-security ranger plugin - mask when a function is used around the column

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Security

    Description

      When a column has masking policies configured and the column is called inside a function. The output of the function is not returning masked data.

      For example, let's say if a column abc from table default_table has HASH_MASK policy configured for a user XYZ. Below are a couple of queries where the user might get actual abc value instead of masked value.

      select substr(abc, 0, 100000000000)  from default_table
      select concat(abc, '-', 'dummy') from default_table
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              harsha249 Tenneti Venkata Sri Harsha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: