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

MongoDB Python connector shows password in display_data

Details

    • Improvement
    • Status: Triage Needed
    • P3
    • Resolution: Fixed
    • None
    • 2.27.0
    • io-py-mongodb
    • 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

              yichi Yichi Zhang
              EugeneNikolaiev Eugene Nikolaiev
              Votes:
              0 Vote for this issue
              Watchers:
              0 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