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

[Maps] [SIEM] Map shows error requesting 'view_index_metadata' permissions but functions normally #54085

Closed
spong opened this issue Jan 7, 2020 · 3 comments
Assignees
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation discuss Team:SIEM v7.6.0

Comments

@spong
Copy link
Member

spong commented Jan 7, 2020

In testing with a read-only user in the SIEM App, we came across the following error message when the map loads on the Network Page:

Unable to fetch index settings for index pattern 'filebeat-*'. Ensure you have 'view_index_metadata' role.

As seen in the image below, this error appears to be the result of the failed request to /api/maps/indexSettings?indexPatternTitle=filebeat-* (there are three in the image, one for each kibana index pattern we create layers for).

Note that the map continues to function without issue -- it shows data for all the layers, the layerToC renders as expected, and the tooltips function as well.

image

Speaking with @thomasneirynck, it looks like this may have been introduced as part of #53500, and so this issue is to discuss if we should require the user to have the view_index_metadata permissions to use Maps (and thus by extension SIEM).

cc @nreese @cwurm

@spong spong added discuss [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation Team:SIEM labels Jan 7, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@spong spong added the v7.6.0 label Jan 7, 2020
@spong spong changed the title [Maps] [SIEM] [Maps] [SIEM] Map shows error requesting 'view_index_metadata' permissions but functions normally Jan 7, 2020
@nreese nreese self-assigned this Jul 31, 2020
@nreese
Copy link
Contributor

nreese commented Oct 5, 2020

Closing since it is expected for users to have view_index_metadata permissions

#73951 (comment)

@nreese nreese closed this as completed Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation discuss Team:SIEM v7.6.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants