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

CE should not allow to setting audit

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.5.0
    • 6.5.0
    • tools
    • Centos 7.4 64 bits
    • Untriaged
    • Centos 64-bit
    • No

    Description

      Install Couchbase server 5.5.0-2908 on a centos 7.4 servers.

      Run couchbase-cli setting-audit

      It shows info how to set it.

       

      [root@s44016 bin]# ./couchbase-cli setting-audit
      usage: couchbase-cli setting-audit -c <cluster> -u <username> -p [<password>]
                                         [-o <output>] [-d] [-s] [--no-ssl-verify]
                                         [--cacert CACERT] [-h]
                                         [--audit-enabled <1|0>]
                                         [--audit-log-path <path>]
                                         [--audit-log-rotate-interval <seconds>]
                                         [--audit-log-rotate-size <bytes>]
       
      Cluster options:
        -c,--cluster <cluster>      The hostname of the Couchbase cluster
        -u,--username <username>    The username for the Couchbase cluster
        -p,--password [<password>]  The password for the Couchbase cluster
        -o,--output <output>        The output type (json or standard)
        -d,--debug                  Run the command with extra logging
        -s,--ssl                    Use ssl when connecting to Couchbase
                                    (Deprecated)
        --no-ssl-verify             Skips SSL verification of certificates against
                                    the CA
        --cacert cacert             Verifies the cluster identity with this
                                    certificate
        -h,--help                   Prints the short or long help message
       
      Audit settings:
        --audit-enabled <1|0>       Enable/disable auditing
        --audit-log-path <path>     The audit log path
        --audit-log-rotate-interval <seconds>
                                    The audit log rotate interval
        --audit-log-rotate-size <bytes>
                                    The audit log rotate size
      [root@s44016 bin]#

       

       

      Attachments

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

        Activity

          The couchbase-cli has no idea of edition, it relies on asking the cluster it's communicating to, to find out the edition. If that flag is used on CE cluster it will print a error message.

          I have marked this as Minor as it's not a critical bug, in Mad-hatter I will update the help to make it clear that this flag is a EE only feature.

          pvarley Patrick Varley added a comment - The couchbase-cli has no idea of edition, it relies on asking the cluster it's communicating to, to find out the edition. If that flag is used on CE cluster it will print a error message. I have marked this as Minor as it's not a critical bug, in Mad-hatter I will update the help to make it clear that this flag is a EE only feature.

          Build couchbase-server-6.5.0-1647 contains couchbase-cli commit f6f83e1 with commit message:
          MB-30142 Clarify that settings-audit is EE only

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1647 contains couchbase-cli commit f6f83e1 with commit message: MB-30142 Clarify that settings-audit is EE only

          Verified in 6.5.0-3458 - attaching screenshot

          arunkumar Arunkumar Senthilnathan added a comment - Verified in 6.5.0-3458 - attaching screenshot

          People

            carlos.gonzalez Carlos Gonzalez Betancort (Inactive)
            thuan Thuan Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty