File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,13 @@ user API.
78
78
** <<configuring-saml-realm,Configure a SAML realm>>.
79
79
80
80
. Set up roles and users to control access to {es}.
81
+ +
82
+ --
81
83
For example, to grant _John Doe_ full access to all indices that match
82
84
the pattern `events*` and enable him to create visualizations and dashboards
83
85
for those indices in {kib}, you could create an `events_admin` role
84
86
and assign the role to a new `johndoe` user.
85
- +
86
- --
87
+
87
88
[source,shell]
88
89
----------------------------------------------------------
89
90
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
109
110
// NOTCONSOLE
110
111
--
111
112
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
114
114
your {es} cluster:
115
115
+
116
116
--
You can’t perform that action at this time.
0 commit comments