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
    • 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 Ángel Nieto
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: