Skip to content

Commit 5a41f3c

Browse files
committed
[DOCS] Move block delimiter and anchor in 'Configuring Security' for Asciidoctor migration (#41604)
1 parent b4118b7 commit 5a41f3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

x-pack/docs/en/security/configuring-es.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,13 @@ user API.
8282
** <<configuring-kerberos-realm,Configure a Kerberos realm>>.
8383

8484
. Set up roles and users to control access to {es}.
85+
+
86+
--
8587
For example, to grant _John Doe_ full access to all indices that match
8688
the pattern `events*` and enable him to create visualizations and dashboards
8789
for those indices in {kib}, you could create an `events_admin` role
8890
and assign the role to a new `johndoe` user.
89-
+
90-
--
91+
9192
[source,shell]
9293
----------------------------------------------------------
9394
curl -XPOST -u elastic 'localhost:9200/_xpack/security/role/events_admin' -H "Content-Type: application/json" -d '{
@@ -113,8 +114,7 @@ curl -XPOST -u elastic 'localhost:9200/_xpack/security/user/johndoe' -H "Content
113114
// NOTCONSOLE
114115
--
115116

116-
[[enable-auditing]]
117-
. Enable auditing to keep track of attempted and successful interactions with
117+
. [[enable-auditing]]Enable auditing to keep track of attempted and successful interactions with
118118
your {es} cluster:
119119
+
120120
--

0 commit comments

Comments
 (0)