Docs: Update writer role with least required privileges#13849
Docs: Update writer role with least required privileges#13849cwurm merged 11 commits intoelastic:masterfrom
Conversation
dedemorton
left a comment
There was a problem hiding this comment.
Thanks for updating the docs. Found a few minor places in the diff. I also found some other global things that I think we should change, but I'll add that as as separate comment for discussion.
|
Note that I checked the changes against 7.4.0 running on cloud (didn't pull down the latest ES snapshot because I didn't think it would make a difference). There are a couple things I noticed that are probably my fault.
You can fix these issues or punt them to me, but I'm not sure when I'll have time to open up this topic again. |
|
I've changed from |
dedemorton
left a comment
There was a problem hiding this comment.
Approving doc changes with the caveat that I have not tested the create_doc privilege.
Thanks for adding the type col. Makes it a lot easier to follow the docs when setting up privileges in Kibana!
Updates the writer role documentation based on #13847 and #13848. Also corrects some mistakes.
read fromto the correctwrite to(Beats does not read from indices).setup.template.enabledtofalseis no longer necessary after Use less restrictive API to check if template exists #13847.setup.ilm.overwritetofalseis unnecessary ifsetup.ilm.check_existsis alreadyfalse(even today).monitorandcreate_docbeing always necessary, explicitly calling out the most secure configuration (following Use less restrictive API to check if template exists #13847 and Do not check for alias when setup.ilm.check_exists is false #13848).monitoris for: It's for checking things like cluster version and license, not "sending monitor info".manage_pipelinewith the read-onlycluster:admin/ingest/pipeline/get. Unfortunately, there is no read-only cluster role for pipelines, so it requires this privilege. But better than the very permissivemanage_pipelinethat allows changing any pipeline.indexto the more restrictive, append-onlycreate_doc(introduced in Add 'create_doc' index privilege elasticsearch#45806).This is one of three PRs to reduce the Beats privileges required in code and documentation:
Relates: #10241