Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.5.0
-
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":
,"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"}}}}