[DOCS] Add security privileges to data stream API docs (#67612) (#67768)

This commit is contained in:
James Rodewig 2021-01-20 10:27:17 -05:00 committed by GitHub
parent bc70936dc5
commit bd955fbc91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 0 deletions

View File

@ -41,6 +41,12 @@ DELETE /_index_template/template
`PUT /_data_stream/<data-stream>`
[[indices-create-data-stream-prereqs]]
==== {api-prereq-title}
* If the {es} {security-features} are enabled, you must have the `create_index`
or `manage` <<privileges-list-indices,index privilege>> for the data stream.
[[indices-create-data-stream-api-path-params]]
==== {api-path-parms-title}

View File

@ -52,6 +52,12 @@ DELETE /_index_template/*
GET /_data_stream/my-data-stream/_stats
----
[[data-stream-stats-api-prereqs]]
==== {api-prereq-title}
* If the {es} {security-features} are enabled, you must have the
`monitor` or `manage` <<privileges-list-indices,index privilege>>
for the data stream.
[[data-stream-stats-api-request]]
==== {api-request-title}

View File

@ -40,6 +40,12 @@ DELETE /_index_template/template
`DELETE /_data_stream/<data-stream>`
[[delete-data-stream-api-prereqs]]
==== {api-prereq-title}
* If the {es} {security-features} are enabled, you must have the `delete_index`
or `manage` <<privileges-list-indices,index privilege>> for the data stream.
[[delete-data-stream-api-path-params]]
==== {api-path-parms-title}

View File

@ -72,6 +72,13 @@ GET /_data_stream/my-data-stream
`GET /_data_stream/<data-stream>`
[[get-data-stream-api-prereqs]]
==== {api-prereq-title}
* If the {es} {security-features} are enabled, you must have the
`view_index_metadata` or `manage` <<privileges-list-indices,index privilege>>
for the data stream.
[[get-data-stream-api-path-params]]
==== {api-path-parms-title}