Skip to content

Commit edf4568

Browse files
herrBezdebadairandrewkroh
authored
[DOCS] Add the read_pipeline cluster privilege for winlogbeat and the auto_configure index privilege to beats documentation (#38534)
* [DOCS] Removed reference to the Stack GS (#32119) * Update users.asciidoc Add the "read_pipeline" privilege for Winlogbeat too * [Docs] add auto_configure index privilege to the required permissions for beat agents * Update link that was broken --------- Co-authored-by: debadair <debadair@elastic.co> Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
1 parent 8664cae commit edf4568

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

libbeat/docs/security/api-keys.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ POST /_security/api_key
3333
"index": [
3434
{
3535
"names": ["{beat_default_index_prefix}-*"],
36-
"privileges": ["view_index_metadata", "create_doc"]
36+
"privileges": ["view_index_metadata", "create_doc", "auto_configure"]
3737
}
3838
]
3939
}

libbeat/docs/security/users.asciidoc

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,9 @@ To grant the required privileges:
233233
. Create a *writer role*, called something like +{beat_default_index_prefix}_writer+,
234234
that has the following privileges:
235235
+
236-
NOTE: The `monitor` cluster privilege and the `create_doc` privilege on
237-
+{beat_default_index_prefix}-*+ indices are required in every configuration.
236+
NOTE: The `monitor` cluster privilege and the `create_doc` and `auto_configure`
237+
privileges on +{beat_default_index_prefix}-*+ indices are required in every
238+
configuration.
238239
+
239240
[options="header"]
240241
|====
@@ -259,10 +260,24 @@ ifeval::["{beatname_lc}"=="filebeat"]
259260
|Check for ingest pipelines used by modules. Needed when using modules.
260261
endif::[]
261262

263+
ifeval::["{beatname_lc}"=="winlogbeat"]
264+
|Cluster
265+
|`read_pipeline`
266+
|Check for ingest pipelines used by {beatname_uc}.
267+
endif::[]
268+
262269
|Index
263270
|`create_doc` on +{beat_default_index_prefix}-*+ indices
264271
|Write events into {es}
272+
273+
|Index
274+
|`auto_configure` on +{beat_default_index_prefix}-*+ indices
275+
|Update the datastream mapping. Consider either disabling entirely or adding the
276+
rule `-{beat_default_index_prefix}-*` to the cluster settings
277+
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html#index-creation[action.auto_create_index]
278+
to prevent unwanted indices creations from the agents.
265279
|====
280+
266281
ifndef::apm-server[]
267282
+
268283
Omit any privileges that aren't relevant in your environment.

0 commit comments

Comments
 (0)