Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-35854

Couchbase Native Audit | Views | IP 127.0.0.1 is displayed in Web Console

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      For each view operation in Web Console the remote IP is 127.0.0.1.
      Expexted IP: The IP from which the user connected.
      This should be verified in CLI, SDK, etc.

      Example of current audit (delete view called "test view"):
      {"bucket":"my-bucket","ddoc_name":"dev_my-bucket","description":"Design Doc is Created or Updated","id":40960,"method":"put","name":"Create or Update Design Doc","real_userid":

      {"domain":"builtin","user":"Administrator"}

      ,"remote":{{color:#DE350B}"ip":"127.0.0.1","port":51633},"status":201,"timestamp":"2019-09-08T17:02:32.098+03:00","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36","view_definition":{"views":{"my_view":{"map":"function (doc, meta)

      {\n emit(meta.id, \"bla\");\n}

      ","reduce":"_count"}}}}

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ankit.prabhu Ankit Prabhu
            sagi.lisker Sagi Lisker
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty