Skip to content

[8.19] [Security Solution][Sourcerer] Add dedicated scope for explore pages (#226545)#227813

Merged
lgestc merged 6 commits intoelastic:8.19from
lgestc:backport/8.19/pr-226545
Jul 16, 2025
Merged

[8.19] [Security Solution][Sourcerer] Add dedicated scope for explore pages (#226545)#227813
lgestc merged 6 commits intoelastic:8.19from
lgestc:backport/8.19/pr-226545

Conversation

@lgestc
Copy link
Copy Markdown
Contributor

@lgestc lgestc commented Jul 14, 2025

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…lastic#226545)

## Summary

This PR adds dedicated ad-hoc data view and scope for explore pages.

## Testing
Flip the flag, then navigate to Explore section of the security plugin.

```
xpack.securitySolution.enableExperimental: ['newDataViewPickerEnabled']
```

You should see "Explore Data View" in the new picker on top of the page.
Using `inspector` widget on every visualisation / table should show the
updated index pattern that does not hit the alerts. You can try going
back and forth between the default security data view and the explore
one and compare the pattern rendered in the inspector to confirm that.

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit 9a45666)

# Conflicts:
#	x-pack/solutions/security/plugins/security_solution/public/explore/hosts/pages/details/index.tsx
#	x-pack/solutions/security/plugins/security_solution/public/explore/network/pages/network.tsx
@lgestc lgestc requested a review from kibanamachine as a code owner July 14, 2025 12:40
@lgestc lgestc added the backport This PR is a backport of another PR label Jul 14, 2025
@lgestc lgestc enabled auto-merge (squash) July 14, 2025 12:40
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Jul 15, 2025

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] x-pack/test/functional/apps/discover/config.ts / discover Discover CSV Export Generate CSV: archived search generates a report with data
  • [job] [logs] FTR Configs #10 / Embeddable Alerts Table Embeddable alerts panel "before all" hook for "should only show alerts from the observability area (o11y+stack) when selecting it"
  • [job] [logs] FTR Configs #10 / Embeddable Alerts Table Embeddable alerts panel "before all" hook for "should only show alerts from the observability area (o11y+stack) when selecting it"

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 7583 7584 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 9.4MB 9.4MB +1004.0B

History

@lgestc lgestc merged commit d9ea195 into elastic:8.19 Jul 16, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants