Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
7.6.0
-
7.6.0-1756
-
0
Description
New settings 'audit_prune_age' needs to be supported from couchbase-cli
# /opt/couchbase/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] [--client-cert <path>]
|
[--client-cert-password [<password>]] [--client-key <path>] [--client-key-password [<password>]] [--list-filterable-events] [--get-settings]
|
[--set] [--audit-enabled <1|0>] [--audit-log-path <path>] [--audit-log-rotate-interval <seconds>] [--audit-log-rotate-size <bytes>]
|
[--disabled-users DISABLED_USERS] [--disable-events DISABLE_EVENTS]Available only in Couchbase Server Enterprise EditionCluster 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
|
--client-cert <path> The path to a client certificate used during certificate authentication
|
--client-cert-password [<password>]
|
The password for the client certificate provided to '--client-cert'
|
--client-key <path> The path to the client private key used during certificate authentication
|
--client-key-password [<password>]
|
The password for the client key provided to '--client-key'Audit settings:
|
--list-filterable-events Retrieve a list of filterable event IDs and the descriptions
|
--get-settings Retrieve current audit settings
|
--set Set current 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
|
--disabled-users disabled_users
|
A comma-separated list of users to ignore events from
|
--disable-events disable_events
|
A comma-separated list of audit-event IDs to not audit
|
root@sa1715-deb10:/opt/couchbase/var/lib/couchbase/logs#
|