fix incorrect filters being passed to events table causing duplicate entries in our inpsect tool request tab#143239
Merged
jamster10 merged 10 commits intoelastic:mainfrom Oct 20, 2022
Conversation
Contributor
|
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
434f158 to
ce56fa6
Compare
d7060fc to
0781ea2
Compare
0781ea2 to
da0f8d4
Compare
stephmilovic
approved these changes
Oct 19, 2022
Contributor
stephmilovic
left a comment
There was a problem hiding this comment.
That code was a headache. Thanks for cleaning this up, hopefully it makes it easier to work in this area without messing up a query. Code looks good, manual testing went will. LGTM
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @jamster10 |
jloleysens
added a commit
to jloleysens/kibana
that referenced
this pull request
Oct 24, 2022
* main: (57 commits) [Files] Filepicker (elastic#143111) [Infrastructure UI] Replace Lens table with EUI table and own api (elastic#142871) [api-docs] Daily api_docs build (elastic#143829) [api-docs] Daily api_docs build (elastic#143825) [api-docs] Daily api_docs build (elastic#143823) [Security Solution] Restructuring folders of Detection Engine + refactoring Rule Management (elastic#142950) [Dev tools] Fix performance issue with autocomplete suggestions (elastic#143428) [Security Solution] Disable ML rule's edit button link under basic license (elastic#143260) [Lens] Use the language-documentation package for formula (elastic#143649) [api-docs] Daily api_docs build (elastic#143811) [Security Solution] Fix missing title on inspect pop-up (elastic#143601) fix incorrect filters being passed to events table causing duplicate entries in our inpsect tool request tab (elastic#143239) [Security Solution][Endpoint] `get-file` response action kibana download file API (elastic#143708) Rely on refresh context to update stats independently of overview cards. (elastic#143308) [RAM] Rule event log - Fix incorrect results when filtering by message and outcome simultaneously (elastic#143119) [ML] Display link to create data view from error cases in data frame analytics results pages (elastic#143596) Update links in README :) (elastic#143675) Add more tests for ml_inference_logic (elastic#143764) skip failing test suite (elastic#143717) [DOCS] Add assignees to case APIs (elastic#143610) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Initiated by #136987 where our events table request inspection contains duplicate entries for each global filter, This PR attempts to clean up our Explore code by:
Updating variable names to be more clear
Update filters that can be written more cleanly and operate as before
Update
useInvalidFilterQueryto NOT use eslint-disable-next-line react-hooks/exhaustive-depsUpdate
(Network|User|Host)DetailsTabscomponents to explicitly take a detailFilter instead of non-descriptpageFilterAdditionally, please note that the
StatefulEventsViewergrabs global filters automatically. This was the reason for bug: #136987 as global filters were being passed to its pageFilters prop 😄Checklist