Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution] Add proper permissions to fleet server for Endpoint response index (#80231) #80238

Merged

Conversation

kevinlog
Copy link
Contributor

@kevinlog kevinlog commented Nov 3, 2021

Cherry pick of a merge mistakenly added to main branch.

Original PR: #80231

Original description:

This PR adds the proper permissions for fleet server to create and write documents to the .logs-endpoint.action.responses-* index. The Security Endpoint, run by the Agent, streams action responses to this index which is used by the Security app to determine if actions are complete, etc.

This was initially missed during testing because of using locally running fleet servers that were given superuser permissions, hence bypassing the fleet server user.

This PR adds the index to fleet server so that the Endpoint gets the key that it needs to write to the index properly.

For more information, see this ticket: elastic/kibana#116715

…nt response index (elastic#80231)

* [Security Solution] Add proper permissions to fleet server for Endpoint response index
@elasticsearchmachine elasticsearchmachine added v8.1.0 external-contributor Pull request authored by a developer outside the Elasticsearch team labels Nov 3, 2021
@kevinlog kevinlog added v8.0.0 v7.16.0 Team:Security Meta label for security team labels Nov 3, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

Copy link
Member

@ywangd ywangd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ywangd ywangd merged commit 79c26e2 into elastic:master Nov 3, 2021
@kevinlog kevinlog deleted the task/cherry-pick-endpoint-response-change branch November 3, 2021 01:50
ywangd pushed a commit to ywangd/elasticsearch that referenced this pull request Nov 3, 2021
…nt response index (elastic#80238)

This PR adds the proper permissions for fleet server to create and write
documents to the .logs-endpoint.action.responses-* index. The Security
Endpoint, run by the Agent, streams action responses to this index which is
used by the Security app to determine if actions are complete, etc.

This was initially missed during testing because of using locally running fleet
servers that were given superuser permissions, hence bypassing the fleet server
user.

This PR adds the index to fleet server so that the Endpoint gets the key that
it needs to write to the index properly.

For more information, see this ticket: elastic/kibana#116715
ywangd pushed a commit to ywangd/elasticsearch that referenced this pull request Nov 3, 2021
…nt response index (elastic#80238)

This PR adds the proper permissions for fleet server to create and write
documents to the .logs-endpoint.action.responses-* index. The Security
Endpoint, run by the Agent, streams action responses to this index which is
used by the Security app to determine if actions are complete, etc.

This was initially missed during testing because of using locally running fleet
servers that were given superuser permissions, hence bypassing the fleet server
user.

This PR adds the index to fleet server so that the Endpoint gets the key that
it needs to write to the index properly.

For more information, see this ticket: elastic/kibana#116715
elasticsearchmachine pushed a commit that referenced this pull request Nov 3, 2021
…nt response index (#80238) (#80241)

This PR adds the proper permissions for fleet server to create and write
documents to the .logs-endpoint.action.responses-* index. The Security
Endpoint, run by the Agent, streams action responses to this index which is
used by the Security app to determine if actions are complete, etc.

This was initially missed during testing because of using locally running fleet
servers that were given superuser permissions, hence bypassing the fleet server
user.

This PR adds the index to fleet server so that the Endpoint gets the key that
it needs to write to the index properly.

For more information, see this ticket: elastic/kibana#116715

Co-authored-by: Kevin Logan <[email protected]>
elasticsearchmachine pushed a commit that referenced this pull request Nov 3, 2021
…nt response index (#80238) (#80242)

This PR adds the proper permissions for fleet server to create and write
documents to the .logs-endpoint.action.responses-* index. The Security
Endpoint, run by the Agent, streams action responses to this index which is
used by the Security app to determine if actions are complete, etc.

This was initially missed during testing because of using locally running fleet
servers that were given superuser permissions, hence bypassing the fleet server
user.

This PR adds the index to fleet server so that the Endpoint gets the key that
it needs to write to the index properly.

For more information, see this ticket: elastic/kibana#116715

Co-authored-by: Kevin Logan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement external-contributor Pull request authored by a developer outside the Elasticsearch team :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC Team:Security Meta label for security team v7.16.0 v8.0.0-beta1 v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants