From 0c0d1b0af7872c72f0026e94d2a978e041a2f78e Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Tue, 30 Apr 2019 16:40:26 -0400 Subject: [PATCH] [DOCS] Move block delimiter and anchor in 'Configuring Security' for Asciidoctor migration (#41604) --- x-pack/docs/en/security/configuring-es.asciidoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x-pack/docs/en/security/configuring-es.asciidoc b/x-pack/docs/en/security/configuring-es.asciidoc index 74ace407fd528..b34e6e0c0e9f2 100644 --- a/x-pack/docs/en/security/configuring-es.asciidoc +++ b/x-pack/docs/en/security/configuring-es.asciidoc @@ -82,12 +82,13 @@ user API. ** <>. . 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 '{ @@ -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: + --