Skip to content

Commit adadb5b

Browse files
committed
DOC-8672 Merge branch '6.5.x-docs' into 6.5.2
* 6.5.x-docs: DOC-8672 Document the requirement on the '/local' postfix Change-Id: I921c487061beb784ad050c6aff84aaed0344a341
2 parents 9433e35 + c56f71c commit adadb5b

3 files changed

Lines changed: 60 additions & 40 deletions

File tree

docs/generated/doc/couchbase-cli/couchbase-cli-setting-audit.html

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta name="generator" content="Asciidoctor 2.0.10">
7+
<meta name="generator" content="Asciidoctor 2.0.14">
88
<meta name="author" content="Couchbase">
99
<title>couchbase-cli-setting-audit(1)</title>
1010
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
@@ -48,7 +48,7 @@
4848
table{border-collapse:collapse;border-spacing:0}
4949
*,*::before,*::after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
5050
html,body{font-size:100%}
51-
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;tab-size:4;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
51+
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;tab-size:4;word-wrap:anywhere;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
5252
a:hover{cursor:pointer}
5353
img,object,embed{max-width:100%;height:auto}
5454
object,embed{height:100%}
@@ -63,10 +63,8 @@
6363
img,object,svg{display:inline-block;vertical-align:middle}
6464
textarea{height:auto;min-height:50px}
6565
select{width:100%}
66-
.center{margin-left:auto;margin-right:auto}
67-
.stretch{width:100%}
6866
.subheader,.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{line-height:1.45;color:#7a2518;font-weight:400;margin-top:0;margin-bottom:.25em}
69-
div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0;direction:ltr}
67+
div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0}
7068
a{color:#2156a5;text-decoration:underline;line-height:inherit}
7169
a:hover,a:focus{color:#1d4b8f}
7270
a img{border:0}
@@ -97,28 +95,28 @@
9795
abbr,acronym{text-transform:uppercase;font-size:90%;color:rgba(0,0,0,.8);border-bottom:1px dotted #ddd;cursor:help}
9896
abbr{text-transform:none}
9997
blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd}
100-
blockquote cite{display:block;font-size:.9375em;color:rgba(0,0,0,.6)}
101-
blockquote cite::before{content:"\2014 \0020"}
102-
blockquote cite a,blockquote cite a:visited{color:rgba(0,0,0,.6)}
10398
blockquote,blockquote p{line-height:1.6;color:rgba(0,0,0,.85)}
10499
@media screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2}
105100
h1{font-size:2.75em}
106101
h2{font-size:2.3125em}
107102
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em}
108103
h4{font-size:1.4375em}}
109-
table{background:#fff;margin-bottom:1.25em;border:solid 1px #dedede}
104+
table{background:#fff;margin-bottom:1.25em;border:solid 1px #dedede;word-wrap:normal}
110105
table thead,table tfoot{background:#f7f8f7}
111106
table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;color:rgba(0,0,0,.8);text-align:left}
112107
table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)}
113108
table tr.even,table tr.alt{background:#f8f8f7}
114-
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6}
109+
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{line-height:1.6}
115110
h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em}
116111
h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400}
112+
.center{margin-left:auto;margin-right:auto}
113+
.stretch{width:100%}
117114
.clearfix::before,.clearfix::after,.float-group::before,.float-group::after{content:" ";display:table}
118115
.clearfix::after,.float-group::after{clear:both}
119-
:not(pre):not([class^=L])>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed;word-wrap:break-word}
120-
:not(pre)>code.nobreak{word-wrap:normal}
121-
:not(pre)>code.nowrap{white-space:nowrap}
116+
:not(pre).nobreak{word-wrap:normal}
117+
:not(pre).nowrap{white-space:nowrap}
118+
:not(pre).pre-wrap{white-space:pre-wrap}
119+
:not(pre):not([class^=L])>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed}
122120
pre{color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;line-height:1.45;text-rendering:optimizeSpeed}
123121
pre code,pre pre{color:inherit;font-size:inherit;line-height:inherit}
124122
pre>code{display:block}
@@ -183,7 +181,7 @@
183181
#content #toc{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px}
184182
#content #toc>:first-child{margin-top:0}
185183
#content #toc>:last-child{margin-bottom:0}
186-
#footer{max-width:100%;background:rgba(0,0,0,.8);padding:1.25em}
184+
#footer{max-width:none;background:rgba(0,0,0,.8);padding:1.25em}
187185
#footer-text{color:rgba(255,255,255,.8);line-height:1.44}
188186
#content{margin-bottom:.625em}
189187
.sect1{padding-bottom:.625em}
@@ -206,7 +204,7 @@
206204
.admonitionblock>table td.icon{text-align:center;width:80px}
207205
.admonitionblock>table td.icon img{max-width:none}
208206
.admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
209-
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #dddddf;color:rgba(0,0,0,.6)}
207+
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #dddddf;color:rgba(0,0,0,.6);word-wrap:anywhere}
210208
.admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
211209
.exampleblock>.content{border-style:solid;border-width:1px;border-color:#e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;-webkit-border-radius:4px;border-radius:4px}
212210
.exampleblock>.content>:first-child{margin-top:0}
@@ -216,7 +214,7 @@
216214
.sidebarblock>:last-child{margin-bottom:0}
217215
.sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center}
218216
.exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0}
219-
.literalblock pre,.listingblock>.content>pre{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;overflow-x:auto;padding:1em;font-size:.8125em}
217+
.literalblock pre,.listingblock>.content>pre{-webkit-border-radius:4px;border-radius:4px;overflow-x:auto;padding:1em;font-size:.8125em}
220218
@media screen and (min-width:768px){.literalblock pre,.listingblock>.content>pre{font-size:.90625em}}
221219
@media screen and (min-width:1280px){.literalblock pre,.listingblock>.content>pre{font-size:1em}}
222220
.literalblock pre,.listingblock>.content>pre:not(.highlight),.listingblock>.content>pre[class="highlight"],.listingblock>.content>pre[class^="highlight "]{background:#f7f7f8}
@@ -261,22 +259,21 @@
261259
.quoteblock.excerpt>blockquote,.quoteblock .quoteblock{padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
262260
.quoteblock.excerpt,.quoteblock .quoteblock{margin-left:0}
263261
.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
264-
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;text-align:left;margin-right:0}
265-
table.tableblock{max-width:100%;border-collapse:separate}
262+
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;font-size:.85rem;text-align:left;margin-right:0}
266263
p.tableblock:last-child{margin-bottom:0}
264+
td.tableblock>.content{margin-bottom:1.25em;word-wrap:anywhere}
267265
td.tableblock>.content>:last-child{margin-bottom:-1.25em}
268-
td.tableblock>.content>:last-child.sidebarblock{margin-bottom:0}
269266
table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}
270-
table.grid-all>thead>tr>.tableblock,table.grid-all>tbody>tr>.tableblock{border-width:0 1px 1px 0}
271-
table.grid-all>tfoot>tr>.tableblock{border-width:1px 1px 0 0}
272-
table.grid-cols>*>tr>.tableblock{border-width:0 1px 0 0}
273-
table.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px}
274-
table.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0}
275-
table.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0}
276-
table.grid-all>tbody>tr:last-child>.tableblock,table.grid-all>thead:last-child>tr>.tableblock,table.grid-rows>tbody>tr:last-child>.tableblock,table.grid-rows>thead:last-child>tr>.tableblock{border-bottom-width:0}
267+
table.grid-all>*>tr>*{border-width:1px}
268+
table.grid-cols>*>tr>*{border-width:0 1px}
269+
table.grid-rows>*>tr>*{border-width:1px 0}
277270
table.frame-all{border-width:1px}
271+
table.frame-ends{border-width:1px 0}
278272
table.frame-sides{border-width:0 1px}
279-
table.frame-topbot,table.frame-ends{border-width:1px 0}
273+
table.frame-none>colgroup+*>:first-child>*,table.frame-sides>colgroup+*>:first-child>*{border-top-width:0}
274+
table.frame-none>:last-child>:last-child>*,table.frame-sides>:last-child>:last-child>*{border-bottom-width:0}
275+
table.frame-none>*>tr>:first-child,table.frame-ends>*>tr>:first-child{border-left-width:0}
276+
table.frame-none>*>tr>:last-child,table.frame-ends>*>tr>:last-child{border-right-width:0}
280277
table.stripes-all tr,table.stripes-odd tr:nth-of-type(odd),table.stripes-even tr:nth-of-type(even),table.stripes-hover tr:hover{background:#f8f8f7}
281278
th.halign-left,td.halign-left{text-align:left}
282279
th.halign-right,td.halign-right{text-align:right}
@@ -285,7 +282,7 @@
285282
th.valign-bottom,td.valign-bottom{vertical-align:bottom}
286283
th.valign-middle,td.valign-middle{vertical-align:middle}
287284
table thead th,table tfoot th{font-weight:bold}
288-
tbody tr th{display:table-cell;line-height:1.6;background:#f7f8f7}
285+
tbody tr th{background:#f7f8f7}
289286
tbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{color:rgba(0,0,0,.8);font-weight:bold}
290287
p.tableblock>code:only-child{background:none;padding:0}
291288
p.tableblock{font-size:1em}
@@ -314,6 +311,7 @@
314311
.hdlist>table>tbody>tr,.colist>table>tbody>tr{background:none}
315312
td.hdlist1,td.hdlist2{vertical-align:top;padding:0 .625em}
316313
td.hdlist1{font-weight:bold;padding-bottom:1.25em}
314+
td.hdlist2{word-wrap:anywhere}
317315
.literalblock+.colist,.listingblock+.colist{margin-top:-.5em}
318316
.colist td:not([class]):first-child{padding:.4em .75em 0;line-height:1;vertical-align:top}
319317
.colist td:not([class]):first-child img{max-width:none}
@@ -386,7 +384,7 @@
386384
.admonitionblock td.icon .icon-warning::before{content:"\f071";color:#bf6900}
387385
.admonitionblock td.icon .icon-caution::before{content:"\f06d";color:#bf3400}
388386
.admonitionblock td.icon .icon-important::before{content:"\f06a";color:#bf0000}
389-
.conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);-webkit-border-radius:100px;border-radius:100px;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}
387+
.conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);-webkit-border-radius:50%;border-radius:50%;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}
390388
.conum[data-value] *{color:#fff!important}
391389
.conum[data-value]+b{display:none}
392390
.conum[data-value]::after{content:attr(data-value)}
@@ -413,6 +411,7 @@
413411
svg{max-width:100%}
414412
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
415413
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
414+
#header,#content,#footnotes,#footer{max-width:none}
416415
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
417416
#toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
418417
body.book #header{text-align:center}
@@ -553,7 +552,9 @@ <h2 id="_options">OPTIONS</h2>
553552
<dt class="hdlist1">--disabled-users &lt;user-list&gt;</dt>
554553
<dd>
555554
<p>(Couchbase Server 6.5.1 and later.)
556-
A comma separated list of users to ignore events from.</p>
555+
A comma separated list of users to ignore events from. Local RBAC usernames
556+
should be postfixed with <code>/local</code>, external LDAP users should be postfixed
557+
with <code>/external</code>.</p>
557558
</dd>
558559
<dt class="hdlist1">--disable-events &lt;events-list&gt;</dt>
559560
<dd>
@@ -707,7 +708,7 @@ <h2 id="_examples">EXAMPLES</h2>
707708
<pre>$ couchbase-cli setting-audit -c 192.168.1.5:8091 --username Administrator \
708709
--password password --set --audit-enabled 1 --audit-log-rotate-size 20971520 \
709710
--audit-log-path /opt/couchbase/var/lib/couchbase/logs \
710-
--disabled-users backup,restore --disable-events 40964,40963</pre>
711+
--disabled-users user1/local,user2/external --disable-events 40964,40963</pre>
711712
</div>
712713
</div>
713714
<div class="paragraph">

docs/generated/man/man1/couchbase-cli-setting-audit.1

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
'\" t
22
.\" Title: couchbase-cli-setting-audit
33
.\" Author: Couchbase
4-
.\" Generator: Asciidoctor 2.0.10
5-
.\" Date: 2021-02-17
4+
.\" Generator: Asciidoctor 2.0.14
5+
.\" Date: 2021-06-18
66
.\" Manual: Couchbase CLI Manual
77
.\" Source: Couchbase CLI 1.0.0
88
.\" Language: English
99
.\"
10-
.TH "COUCHBASE\-CLI\-SETTING\-AUDIT" "1" "2021-02-17" "Couchbase CLI 1.0.0" "Couchbase CLI Manual"
10+
.TH "COUCHBASE\-CLI\-SETTING\-AUDIT" "1" "2021-06-18" "Couchbase CLI 1.0.0" "Couchbase CLI Manual"
1111
.ie \n(.g .ds Aq \(aq
1212
.el .ds Aq '
1313
.ss \n[.ss] 0
@@ -28,10 +28,9 @@
2828
. LINKSTYLE blue R < >
2929
.\}
3030
.SH "NAME"
31-
couchbase\-cli\-setting\-audit \- Modifies audit log settings (EE only)
31+
couchbase-cli-setting-audit \- Modifies audit log settings (EE only)
3232
.SH "SYNOPSIS"
3333
.sp
34-
.sp
3534
.nf
3635
\fIcouchbase\-cli setting\-audit\fP [\-\-cluster <url>] [\-\-username <user>]
3736
[\-\-password <password>] [\-\-list\-filterable\-events] [\-\-get\-settings]
@@ -125,7 +124,9 @@ on size.
125124
.sp
126125
\-\-disabled\-users <user\-list>
127126
.RS 4
128-
A comma separated list of users to ignore events from.
127+
A comma separated list of users to ignore events from. Local RBAC usernames
128+
should be postfixed with \f(CR/local\fP, external LDAP users should be postfixed
129+
with \f(CR/external\fP.
129130
.RE
130131
.sp
131132
\-\-disable\-events <events\-list>
@@ -182,8 +183,10 @@ To get the current audit settings run the command below.
182183
.sp
183184
.if n .RS 4
184185
.nf
186+
.fam C
185187
$ couchbase\-cli setting\-audit \-c 192.168.1.5:8091 \-\-username Administrator \(rs
186188
\-\-password password \-\-get\-settings
189+
.fam
187190
.fi
188191
.if n .RE
189192
.sp
@@ -192,26 +195,31 @@ commands can return json if \f(CR\-\-output json\fP is provided):
192195
.sp
193196
.if n .RS 4
194197
.nf
198+
.fam C
195199
Audit enabled: False
196200
UUID: 44726500
197201
Log path: /opt/couchbase/var/lib/couchbase/logs
198202
Rotate interval: 86400
199203
Rotate size: 20971520
200204
Disabled users: []
205+
.fam
201206
.fi
202207
.if n .RE
203208
.sp
204209
To retrieve the list of events that can be audited use the command:
205210
.sp
206211
.if n .RS 4
207212
.nf
213+
.fam C
208214
$ couchbase\-cli setting\-audit \-c 192.168.1.5:8091 \-\-username Administrator \(rs
209215
\-\-password password \-\-list\-filterable\-events
216+
.fam
210217
.fi
211218
.if n .RE
212219
.sp
213220
.if n .RS 4
214221
.nf
222+
.fam C
215223
ID | Module | Name | Description
216224
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
217225
36865 | analytics | Service configuration change | A successful service configuration change was made.
@@ -222,6 +230,7 @@ ID | Module | Name | Descri
222230
40962 | view_engine | Query DDoc Meta Data | Design Doc Meta Data Query Request
223231
40963 | view_engine | View Query | View Query Request
224232
40964 | view_engine | Update Design Doc | Design Doc is Updated
233+
.fam
225234
.fi
226235
.if n .RE
227236
.sp
@@ -231,9 +240,11 @@ below.
231240
.sp
232241
.if n .RS 4
233242
.nf
243+
.fam C
234244
$ couchbase\-cli setting\-audit \-c 192.168.1.5:8091 \-\-username Administrator \(rs
235245
\-\-password password \-\-set \-\-audit\-enabled 1 \-\-audit\-log\-rotate\-interval 604800 \(rs
236246
\-\-audit\-log\-path /opt/couchbase/var/lib/couchbase/logs
247+
.fam
237248
.fi
238249
.if n .RE
239250
.sp
@@ -242,9 +253,11 @@ on a Linux installation with a log rotate size of 20MB, run the command below.
242253
.sp
243254
.if n .RS 4
244255
.nf
256+
.fam C
245257
$ couchbase\-cli setting\-audit \-c 192.168.1.5:8091 \-\-username Administrator \(rs
246258
\-\-password password \-\-set \-\-audit\-enabled 1 \-\-audit\-log\-rotate\-size 20971520 \(rs
247259
\-\-audit\-log\-path /opt/couchbase/var/lib/couchbase/logs
260+
.fam
248261
.fi
249262
.if n .RE
250263
.sp
@@ -255,19 +268,23 @@ run the command below.
255268
.sp
256269
.if n .RS 4
257270
.nf
271+
.fam C
258272
$ couchbase\-cli setting\-audit \-c 192.168.1.5:8091 \-\-username Administrator \(rs
259273
\-\-password password \-\-set \-\-audit\-enabled 1 \-\-audit\-log\-rotate\-size 20971520 \(rs
260274
\-\-audit\-log\-path /opt/couchbase/var/lib/couchbase/logs \(rs
261-
\-\-disabled\-users backup,restore \-\-disable\-events 40964,40963
275+
\-\-disabled\-users user1/local,user2/external \-\-disable\-events 40964,40963
276+
.fam
262277
.fi
263278
.if n .RE
264279
.sp
265280
To disable auditing run the following command.
266281
.sp
267282
.if n .RS 4
268283
.nf
284+
.fam C
269285
$ couchbase\-cli setting\-audit \-c 192.168.1.5:8091 \-\-username Administrator \(rs
270286
\-\-password password \-\-set \-\-audit\-enabled 0
287+
.fam
271288
.fi
272289
.if n .RE
273290
.SH "ENVIRONMENT AND CONFIGURATION VARIABLES"

docs/modules/cli/pages/cbcli/couchbase-cli-setting-audit.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ ifdef::site-gen-antora,backend-html5[(Couchbase Server 6.5.1 and later.)]
7777

7878
--disabled-users <user-list>::
7979
ifdef::site-gen-antora,backend-html5[(Couchbase Server 6.5.1 and later.)]
80-
A comma separated list of users to ignore events from.
80+
A comma separated list of users to ignore events from. Local RBAC usernames
81+
should be postfixed with `/local`, external LDAP users should be postfixed
82+
with `/external`.
8183

8284
--disable-events <events-list>::
8385
ifdef::site-gen-antora,backend-html5[(Couchbase Server 6.5.1 and later.)]
@@ -170,7 +172,7 @@ run the command below.
170172
$ couchbase-cli setting-audit -c 192.168.1.5:8091 --username Administrator \
171173
--password password --set --audit-enabled 1 --audit-log-rotate-size 20971520 \
172174
--audit-log-path /opt/couchbase/var/lib/couchbase/logs \
173-
--disabled-users backup,restore --disable-events 40964,40963
175+
--disabled-users user1/local,user2/external --disable-events 40964,40963
174176

175177
To disable auditing run the following command.
176178

0 commit comments

Comments
 (0)