Skip to content

Add tenantID validation to regex validator #6836

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged

Conversation

SungJin1212
Copy link
Member

This PR adds tenantID validation to the regex validator to filter out unsupported or too-long tenantID.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Copy link
Member

@friedrichg friedrichg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!. So much needed

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jun 23, 2025
@yeya24 yeya24 merged commit 7f107fe into cortexproject:master Jun 29, 2025
17 checks passed
bogdan-st pushed a commit to bogdan-st/cortex that referenced this pull request Jun 30, 2025
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
component/querier lgtm This PR has been approved by a maintainer size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants