-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[SIEM] fix bug that fails to match index patterns with leading wildcard #49735
[SIEM] fix bug that fails to match index patterns with leading wildcard #49735
Conversation
Pinging @elastic/siem (Team:SIEM) |
Testing on a Cloud CCS instance containing two clusters: Configuring Only
|
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked out and tested against a CCS cloud deployment and all seems 👍
Tested with the following siem:defaultIndex
values:
*beat*
- only matches local indices ✅
*
- only matches local indices ✅
*:*beat*
- only matches cross cluster indices ✅
All these behaviors match that of the Kibana Index Pattern UI, which is what we're shooting for parity wise. LGTM! 👍
Summary
Resolves https://github.com/elastic/siem-team/issues/373
Fixes a bug that blew up the server when an index pattern with a leading wildcard was passed.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.This was checked for cross-browser compatibility, including a check against IE11Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n supportDocumentation was added for features that require explanation or tutorialsThis was checked for keyboard-only and screenreader accessibilityFor maintainers
This was checked for breaking API changes and was labeled appropriatelyThis includes a feature addition or change that requires a release note and was labeled appropriately