Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11444

MongoDB Python connector shows password in display_data

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.27.0
    • Component/s: io-py-mongodb
    • Labels:
    • Environment:
      Google Cloud Dataflow

      Description

      MongoDB connector's display_data shows password in uri and in mongo_client_spec parameters.

      Example for Read step Info on Dataflow UI:

      uri mongodb+srv://top:secret@xyx456-pri.ab123.mongodb.net
      mongo_client_spec {"username": "top", "password": "secret"}

      Example of how it could be shown if masked:

      uri mongodb+srv://top:******@xyx456-pri.ab123.mongodb.net
      mongo_client_spec {"username": "top", "password": "******"}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yichi Yichi Zhang
                Reporter:
                EugeneNikolaiev Eugene Nikolaiev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m