[9.2] [Security Solution] fix potential issues with loading data views in detection engine (#256996)#258235
Merged
kibanamachine merged 1 commit intoelastic:9.2from Mar 17, 2026
Conversation
…etection engine (elastic#256996) ## Summary A recent SDH made us realize that we have a potential issue in our code, when the platform dataview service throws errors. This previous [PR](elastic#256983) fixes the issue in the @elastic/security-threat-hunting-investigations codebase and we want to merge it for `9.2.7`. This PR applies similar changes to the code owned by the @elastic/security-detection-engine team: - wrap the `dataview.get` calls within a `try/catch` and show a toast if an error happens This will facilitate debugging if we ever need. (more info in the PR mentioned above). ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. (cherry picked from commit 243e138)
2 tasks
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
|
kertal
added a commit
to kertal/kibana
that referenced
this pull request
Apr 3, 2026
Apply EXTENDED_TIMEOUT (10s) to 4 tests across 3 files that intermittently exceed the default 5s Jest timeout: - discover_sidebar_responsive.test.tsx (2 tests) - build_esql_fetch_subscribe.test.ts (1 test) - field_editor_flyout_content.test.ts (1 test) Closes elastic#258414, elastic#258356, elastic#258285, elastic#258235, elastic#257970, elastic#257835, elastic#257586
kertal
added a commit
to kertal/kibana
that referenced
this pull request
Apr 3, 2026
Apply EXTENDED_TIMEOUT (10s) to 4 tests across 3 files that intermittently exceed the default 5s Jest timeout: - discover_sidebar_responsive.test.tsx (2 tests) - build_esql_fetch_subscribe.test.ts (1 test) - field_editor_flyout_content.test.ts (1 test) Closes elastic#258414, elastic#258356, elastic#258285, elastic#258235, elastic#257970, elastic#257835, elastic#257586
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.
Backport
This will backport the following commits from
mainto9.2:Questions ?
Please refer to the Backport tool documentation