Skip to content

Built-in roles and user for stack monitoring with beats#34805

Merged
ycombinator merged 1 commit intoelastic:6.xfrom
ycombinator:security-role-stack-monitoring-6x
Oct 24, 2018
Merged

Built-in roles and user for stack monitoring with beats#34805
ycombinator merged 1 commit intoelastic:6.xfrom
ycombinator:security-role-stack-monitoring-6x

Conversation

@ycombinator
Copy link
Copy Markdown
Contributor

Backport of #34369.

This PR:

  • introduces a new remote_monitoring_collector role, intended for calling various ES and Kibana APIs to collect ES and Kibana monitoring information.

  • expands the existing remote_monitoring_agent role's privileges so it may also create metricbeat-* indices and index docs into them.

  • introduces a new built-in user, remote_monitoring_user, that will have the remote_monitoring_agent and remote_monitoring_collector roles assigned to it.

* Adding stack_monitoring_agent role

* Fixing checkstyle issues

* Adding tests for new role

* Tighten up privileges around index templates

* s/stack_monitoring_user/remote_monitoring_collector/ + remote_monitoring_user

* Fixing checkstyle violation

* Fix test

* Removing unused field

* Adding missed code

* Fixing data type

* Update Integration Test for new builtin user
@ycombinator
Copy link
Copy Markdown
Contributor Author

Chatted with @jaymode off-PR. Since this PR is identical to the original PR that was merged into master and CI on this PR is green, I'm going ahead and merging it now...

@ycombinator ycombinator merged commit 4d71592 into elastic:6.x Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant