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

Issues with index parameter #77

Open
katmlee opened this issue Jan 15, 2018 · 1 comment
Open

Issues with index parameter #77

katmlee opened this issue Jan 15, 2018 · 1 comment

Comments

@katmlee
Copy link

katmlee commented Jan 15, 2018

Hello, we are having an issue with accessing an index for a new user we generated. After generating the user, we are trying to give the user permissions with "curl -u root:rootpassword ’http://port/_httpuserauth?mode=updateindex&username=someuser&index=/_search* ".

However, we are getting a 403 forbidden message when we hit the api url ending in /api/elastic/_search?size=6.

However, if we use index=/_* it works fine. So either the regex is not working well for us or we don't know what to pass into the index. Any advice as to what we should be passing to index to make the permissions work?

Is there a way to print out the indices to see what exists?

Thank you!

@lmangani
Copy link
Collaborator

Hi @katmlee
Could you try using .* as suffix for regex match in your rule?

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

No branches or pull requests

2 participants