-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Update index names for endpoint Datastream permissions. #74959
Conversation
Pinging @elastic/es-security (Team:Security) |
@pjhampton Given the current definition for the |
(From my vantage, I would always prefer fixed names to wildcards for built-in roles, but it might not be what you need.) |
The Kibana system user has to now query 2 data streams daily:
See more details on this here: elastic/kibana#102171 The queries in my description are what is implemented in Kibana: I've confirmed this is read access related by doing a reindex op into a fleet managed index POST _reindex
{
"source": {
"index": "metrics-endpoint.metrics-default"
},
"dest": {
"index": ".fleet-metrics-endpoint.metrics-test"
}
} Please note I am testing against the ES snapshot |
@pjhampton I've tried reproducing the problem, no dice:
Can you clarify which is the request that does not work, and what the error is? |
Thanks, @albertzaharovits. I was able to reproduce your testing.
Thanks again for helping on this one |
The Kibana System user can't read out of the
.ds-metrics-endpoint.policy-*
data streams to get the Endpoint metrics document + fleet policy responses. I'm wondering if this fixes it by referencing the data stream name directly.