Redact command line after startup

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.34.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • Iteration Jellyfish, Iteration Kraken
    • Not Needed

      Compass will redact its command line to avoid showing credentials in the output of ps(1) and similar tools. We will do this by overwriting process.title right after parsing CLI arguments (parseCliArgs) similarly to what we do in mongosh (It happens fairly early in mongosh, to make the window of time in which the full connection string shows up in process lists as small as possible).

            Assignee:
            Anna Henningsen
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: