Skip to content

[8.19] [Security Solution][Sourcerer] Default data view init flow for the DV manager (#221338)#224534

Merged
kibanamachine merged 1 commit intoelastic:8.19from
kibanamachine:backport/8.19/pr-221338
Jun 19, 2025
Merged

[8.19] [Security Solution][Sourcerer] Default data view init flow for the DV manager (#221338)#224534
kibanamachine merged 1 commit intoelastic:8.19from
kibanamachine:backport/8.19/pr-221338

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

… manager (elastic#221338)

## Summary

This PR reuses sourcerer data view creation logic for security solution
and applies it to the new flow with data view manager (discover data
view picker).

Closes elastic/security-team#12570
Closes elastic#220589

## Testing

Starting kibana from scratch with the feature flag enabled should create
default security solution view, **in either default or custom Kibana
Space**.

The FF:

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

### Checklist

Check the PR satisfies following conditions.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated / added

---------

Co-authored-by: Michael Olorunnisola <michael.olorunnisola@elastic.co>
(cherry picked from commit e6ed157)
@kibanamachine kibanamachine merged commit e1092c7 into elastic:8.19 Jun 19, 2025
11 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 7496 7498 +2

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 +2.0KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
securitySolution 85.2KB 85.2KB +5.0B
Unknown metric groups

ESLint disabled in files

id before after diff
securitySolution 86 87 +1

ESLint disabled line counts

id before after diff
securitySolution 564 565 +1

Total ESLint disabled count

id before after diff
securitySolution 650 652 +2

cc @lgestc

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