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

[BUG] Is there any permissions that only specific indexes can be searched by specific users and searched through the discover menu? #1901

Closed
zinho9 opened this issue Apr 24, 2024 · 2 comments
Labels
bug Something isn't working triaged

Comments

@zinho9
Copy link

zinho9 commented Apr 24, 2024

Describe the bug

Hello, I am using opensearch for collecting logs from several applications.
Those applications are developed from each teams , and the logs are under of each indicies.
(ex. a-log-* , b-log-*)

I made several users and tried to mapping permissions for users per project.
But there is one problem.

ClipboardImage_2024-04-24_182025

I would like to allow only certain indexes to be searched and showed in the screenshot menu.
( The screenshot is Opensearch Dashboard -> Discover -> the index patterns at the top left side of page )

I tried to set roles -> index permissions ->
and then set Index : a-log-* , permissions are indicies_all
but after that I can't show any indices in the discover menu.

When I attatch the opesearch_dashboard_user role that is already managed in opesearch ,
I can show all indicies.

Can I know how to set permissions so that only specific indexes can be searched by specific users and searched through the discover menu?

Related component

Search

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Is there any permissions that only specific indexes can be searched by specific users and searched through the discover menu?

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@zinho9 zinho9 added bug Something isn't working untriaged labels Apr 24, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2 3 4 5]
Transfering to security dashboards repository

@peternied peternied transferred this issue from opensearch-project/OpenSearch Apr 24, 2024
@stephen-crawford
Copy link
Contributor

[Triage] Hi @zinho9 thank you for filing this issue. Looking at things, I think you could get better support for this over on the OpenSearch forum (https://forum.opensearch.org/) where you can find more real-world use cases like your own. Going to close this issue but if you end up wanting to request a feature down the road feel free to open a new issue. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged
Projects
Status: Done
Development

No branches or pull requests

3 participants