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] usernames can contain uppercase characters but this breaks own_index type patterns #4764

Open
sebovzeoueb opened this issue Oct 1, 2024 · 1 comment
Labels
bug Something isn't working triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable.

Comments

@sebovzeoueb
Copy link

I've been trying to implement a system similar to the own_index using the username in an index pattern, however my usernames come from the OpenID sub claim which can (and does) contain uppercase characters, as can OpenSearch Security usernames in general. Thus the index pattern the user has access to contains uppercase characters.

There's one small issue with this: OpenSearch doesn't allow uppercase characters in index names. It's therefore impossible to create an index that matches the pattern the user can access!

@sebovzeoueb sebovzeoueb added bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized labels Oct 1, 2024
@cwperks cwperks added triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable. and removed untriaged Require the attention of the repository maintainers and may need to be prioritized labels Oct 7, 2024
@cwperks
Copy link
Member

cwperks commented Oct 7, 2024

[Triage] Thank you for filing this issue @sebovzeoueb. This looks like a legitimate bug that needs to be fixed.

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 Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
Projects
None yet
Development

No branches or pull requests

2 participants