Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-17196

Data masking certain data keys using N1QL scalar functions and SDK APIs

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 4.5.0
    • query
    • Security Level: Public

    Description

      Provide a scalar function in N1QL which exposes the first and last letters and adds a custom padding string in the middle

      If the original value is too short to complete the entire mask, part of the prefix or suffix will not be exposed.

      Function signature should be mask(prefix,[padding],suffix)

      Use-cases
      A call center support person may identify callers by several digits of their social security number or credit card number, but those data items should not be fully exposed to the support person. A masking rule can be defined that masks all but the last four digits of any social security number or credit card number in the result set of any query.

      For another example, by using the appropriate data mask to protect personally identifiable information (PII) data, a developer can query production environments for troubleshooting purposes without violating compliance regulations.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mihir.kamdar Mihir Kamdar (Inactive)
              ianmccloy Ian McCloy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty