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

API audit messages should not contain an errorMessage field if no error occurred

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 5.5.0
    • query
    • None
    • Untriaged
    • Unknown

    Description

      Turn on the "/admin/ping" audit event in the configuration page.

      Send a ping event:

      curl -v http://localhost:8093/admin/ping 

      The resulting audit record will contain an "errorMessage" field, even though no error occurred.

      {"timestamp":"2018-03-14T06:54:24.887-07:00","real_userid":{"source":"internal","user":"unknown"},"httpMethod":"GET","httpResultCode":200,"errorMessage":"","id":28697,"name":"/admin/ping API request","description":"An HTTP request was made to the API at /admin/ping."}

       

       

      Attachments

        For Gerrit Dashboard: MB-28675
        # Subject Branch Project Status CR V

        Activity

          People

            johan.larson Johan Larson (Inactive)
            johan.larson Johan Larson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty