Skip to content

Commit 5d22193

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

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
@@ -78,12 +78,13 @@ user API.
7878
** <<configuring-saml-realm,Configure a SAML realm>>.
7979

8080
. Set up roles and users to control access to {es}.
81+
+
82+
--
8183
For example, to grant _John Doe_ full access to all indices that match
8284
the pattern `events*` and enable him to create visualizations and dashboards
8385
for those indices in {kib}, you could create an `events_admin` role
8486
and assign the role to a new `johndoe` user.
85-
+
86-
--
87+
8788
[source,shell]
8889
----------------------------------------------------------
8990
curl -XPOST -u elastic 'localhost:9200/_xpack/security/role/events_admin' -H "Content-Type: application/json" -d '{
@@ -109,8 +110,7 @@ curl -XPOST -u elastic 'localhost:9200/_xpack/security/user/johndoe' -H "Content
109110
// NOTCONSOLE
110111
--
111112

112-
[[enable-auditing]]
113-
. Enable auditing to keep track of attempted and successful interactions with
113+
. [[enable-auditing]]Enable auditing to keep track of attempted and successful interactions with
114114
your {es} cluster:
115115
+
116116
--

0 commit comments

Comments
 (0)