Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6072

Redact command line after startup

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.34.0
    • None
    • None
    • None
    • 2
    • Not Needed
    • Iteration Jellyfish, Iteration Kraken

    Description

      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).

      Attachments

        Activity

          People

            anna.henningsen@mongodb.com Anna Henningsen
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: