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

Add tags to N1QL statements to allow redaction at log collection time

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • 6.5.0
    • 5.5.0, 5.5.1
    • query

    Description

      We would like to be able to collect completed and prepared requests as part of cbcollect_info (with select * from system:completed_requests and select * from system:prepareds respectively).

      There is a potential privacy issue if we include the full N1QL Statement (keys, field names may include personal information).

      We could avoid this by simply not selecting the Statement field, but this poses a supportability issue (we would not necessarily know which query to investigate).

      A solution would be to add tags to the statement field so that they can be caught by the log redaction process (to keep it simple, tag the entire field rather than trying to tag the non-keywords).

      Attachments

        Issue Links

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

          Activity

            People

              keshav Keshav Murthy
              malarky Chris Malarky
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty