Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-95630

Look into using auth for agent to mongostreams communication

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Atlas Streams

      Currently, the mongostreams exposes all its commands as commands that do not require auth. The agent is expected to communicate via localhost and this it does so without using any auth and can trigger any of the commands that mongostreams exposes.

       

      This is fine in the intended deployment of the system where mongostreams and the agent run as containers in a pod and where the mongostreams code is not part of the "general" mongod code.

       

      There can be a potential problem if the deployment characteristics of the system change such that mongostreams becomes accessible via the network or if the mongostreams code becomes a part of the general mongod code.

       

      To account for such hypothetical future scenarios, we can look into making all commands in mongostreams to require auth and have the agent authenticate before issuing commands.

            Assignee:
            Unassigned Unassigned
            Reporter:
            mayuresh.kulkarni@mongodb.com Mayuresh Kulkarni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: