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

Inconsistent usernames used in audit log for eventing lifecycle operations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • bug-backlog
    • 6.0.0
    • eventing
    • None

    Description

      In audit log we see the user Administrator and @eventing-cbauth interchangeably used for different lifecycle operations. It seems inconsistent. Set settings some times use Administrator and sometimes @eventing-cbauth.

      {"timestamp":"2018-08-09T23:36:14.534934-07:00","real_userid":

      {"domain":"internal","user":"couchbase"}

      ,"auditd_enabled":true,"descriptors_path":"/opt/couchbase/etc/security","hostname":"node2-cb500-centos7.vagrants","log_path":"/opt/couchbase/var/lib/couchbase/logs","rotate_interval":86400,"version":2,"uuid":"30277770","id":4096,"name":"configured audit daemon","description":"loaded configuration file for audit daemon"}
      {"timestamp":"2018-08-09T23:36:52.059-07:00","real_userid":

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

      ,"context":"Function_219648511_test_eventing_audit_logging","id":32768,"name":"Create Function","description":"Eventing function definition was created or updated"}
      {"timestamp":"2018-08-09T23:36:53.282-07:00","real_userid":

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

      ,"context":"Function_219648511_test_eventing_audit_logging","id":32774,"name":"Save Draft","description":"Save a draft definition to the store"}
      {"timestamp":"2018-08-09T23:38:04.866-07:00","real_userid":

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

      ,"context":"Function_219648511_test_eventing_audit_logging","id":32779,"name":"Set Settings","description":"Save settings for a given app"}
      {"timestamp":"2018-08-09T23:38:17.164-07:00","real_userid":

      {"domain":"builtin","user":"@eventing-cbauth"}

      ,"context":"Function_219648511_test_eventing_audit_logging","id":32779,"name":"Set Settings","description":"Save settings for a given app"}
      {"timestamp":"2018-08-09T23:38:40.054-07:00","real_userid":

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

      ,"context":"Function_219648511_test_eventing_audit_logging","id":32769,"name":"Delete Function","description":"Eventing function definition was deleted"}
      {"timestamp":"2018-08-09T23:38:40.072-07:00","real_userid":

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

      ,"context":"Function_219648511_test_eventing_audit_logging","id":32773,"name":"Delete Drafts","description":"Eventing function draft definitions were deleted"}

      Attachments

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

        Activity

          People

            Balakumaran.Gopal Balakumaran Gopal
            Balakumaran.Gopal Balakumaran Gopal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty