Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-42874

redactClientLogData also redacts $comment field

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Server Security

      By default, redactClientLogData also redacts $comment field. This is a field usually used for debugging from the application, for example to find which part of the application executed the query and some other metadata that could be useful.

      It would be helpful to add a parameter to redactClientLogData so it ignores the $comment field. With the current implementation, users cannot really use $comment on servers that need sensitive data protection.

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            miguel.nieto@mongodb.com Miguel Angel Nieto
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: