Skip to content

Commit

Permalink
[DOCS] Move block delimiter and anchor in 'Configuring Security' for …
Browse files Browse the repository at this point in the history
…Asciidoctor migration (#41604)
  • Loading branch information
jrodewig committed Apr 30, 2019
1 parent edf3bca commit 5d22193
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x-pack/docs/en/security/configuring-es.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,13 @@ user API.
** <<configuring-saml-realm,Configure a SAML realm>>.

. Set up roles and users to control access to {es}.
+
--
For example, to grant _John Doe_ full access to all indices that match
the pattern `events*` and enable him to create visualizations and dashboards
for those indices in {kib}, you could create an `events_admin` role
and assign the role to a new `johndoe` user.
+
--

[source,shell]
----------------------------------------------------------
curl -XPOST -u elastic 'localhost:9200/_xpack/security/role/events_admin' -H "Content-Type: application/json" -d '{
Expand All @@ -109,8 +110,7 @@ curl -XPOST -u elastic 'localhost:9200/_xpack/security/user/johndoe' -H "Content
// NOTCONSOLE
--

[[enable-auditing]]
. Enable auditing to keep track of attempted and successful interactions with
. [[enable-auditing]]Enable auditing to keep track of attempted and successful interactions with
your {es} cluster:
+
--
Expand Down

0 comments on commit 5d22193

Please sign in to comment.