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 (elastic#41604)
  • Loading branch information
jrodewig authored and akhil10x5 committed May 2, 2019
1 parent a0e882b commit 56c9d94
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 @@ -82,12 +82,13 @@ user API.
** <<configuring-kerberos-realm,Configure a Kerberos 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/_security/role/events_admin' -H "Content-Type: application/json" -d '{
Expand All @@ -113,8 +114,7 @@ curl -XPOST -u elastic 'localhost:9200/_security/user/johndoe' -H "Content-Type:
// 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 56c9d94

Please sign in to comment.