-
Notifications
You must be signed in to change notification settings - Fork 187
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
Fix events view when search bar language is lucene #5286
Fix events view when search bar language is lucene #5286
Conversation
|
Wazuh dashboardLegend: UI
Details 🟢 The Modules//Events page should be displayed when the Lucene query language is selected in the search bar🟢 When there are no results for query and selecting Lucene as the query language, the message should display OpenSearch
|
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.
review
🟢 code
🟢 test #5286 (comment)
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.
Wazuh dashboard
Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable
UI
Test | Chrome | Firefox |
---|---|---|
The Modules//Events page should be displayed when the Lucene query language is selected in the search bar | 🟢 | ⚫ |
When there are no results for query and selecting Lucene as the query language, the message should display OpenSearch | 🟢 | ⚫ |
Details
🟢 The Modules//Events page should be displayed when the Lucene query language is selected in the search bar
Chrome - 🟢
🟢 When there are no results for query and selecting Lucene as the query language, the message should display OpenSearch
Chrome - 🟢
ℹ️ I have not tested the mentioned test related to the query in Lucene, because these don't apply to the proposed changes in the pull request.
* Change href to opensearch.queryDSL.base * Change text, elasticsearch to opensearch * Add changelog
Description
This change is only for "OpenSearch dashboards", it changes code that was related to Elasticsearch in the OpenSearch Dashboards branch.
Issues Resolved
Lucene
the events view is broken #5284Evidence
Test
Preconditions
Navigate to 'Security events'
Click on 'Syntax options from search bar'
Change 'OpenSearch Dashboards Query Language' to 'off'
Test 1
Click on Events without data
The view "no results" has to be rendered
Test 2
Click on Events with data
The table has to be rendered
Test 1
Click on Events and do a search
The table has to be rendered with the search data.
Check List
yarn test:jest