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

Create and modify bucket event definition does not match the audit event

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.0
    • 4.0.0
    • ns_server
    • Security Level: Public
    • 1141
    • Triaged
    • Centos 64-bit
    • No

    Description

      Check props field for create and edit bucket fields in audit_events.json and audit.log
      Create Bucket event mentioned below, it will be similarly for modify bucket event id = 8201.
      Value of field props in audit_events.json does not match audit.log.

      Event – Create Bucket
      Event Defintion in audit_events.json:
      {
      "id": 8201,
      "name": "create bucket",
      "description": "Bucket was created",
      "sync": false,
      "enabled": true,
      "mandatory_fields": {
      "timestamp": "",
      "real_userid":

      { "source": "", "user": "" }

      ,
      "remote":

      { "ip": "", "port": 1 }

      ,
      "name": "",
      "type": "",
      "props": ""
      },
      "optional_fields":

      { "sessionid": "" }

      }

      Actual event written to audit.log – look at the field ‘props'
      {"timestamp":"2015-02-03T09:18:07.179-08:00", "id":8201, "name":"create bucket", "desc":"Bucket was created", "props":

      {"num_replicas":1, "replica_index":false, "ram_quota":2169503744, "auth_type":"sasl", "autocompaction":false, "purge_interval":"undefined", "flush_enabled":false, "num_threads":3, "eviction_policy":"value_only"}

      , "type":"membase", "name":"test", "real_userid":

      {"source":"ns_server", "user":"Administrator"}

      , "sessionid":"749ceeb2be1581dd95d839938b58e3a4", "remote":{"ip":"192.168.2.217", "port":57457}}

      Attachments

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

        Activity

          People

            ritam.sharma Ritam Sharma
            ritam.sharma Ritam Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty