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

Template checking for multiple patterns is broken #1103

Closed
2 tasks done
jesusgn90 opened this issue Dec 19, 2018 · 0 comments
Closed
2 tasks done

Template checking for multiple patterns is broken #1103

jesusgn90 opened this issue Dec 19, 2018 · 0 comments
Assignees
Labels
type/bug Bug issue

Comments

@jesusgn90
Copy link
Contributor

jesusgn90 commented Dec 19, 2018

Hi team, our template checking is broken when using more than one pattern.

Our regex is not matching multiple patterns:

https://github.com/wazuh/wazuh-kibana-app/blob/ef67bada39995b93397745d90b04802b8a59bfba/server/controllers/wazuh-elastic.js#L90

We also need to parse comma separated patterns.

  • Split into single patterns when using multiple patterns
  • Fix the regex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue
Projects
None yet
Development

No branches or pull requests

1 participant