[SecuritySolution] Add SecuritySolution sample data#164052
[SecuritySolution] Add SecuritySolution sample data#164052angorayc wants to merge 51 commits intoelastic:mainfrom
Conversation
| index: { | ||
| ...dataIndex.indexSettings, | ||
| }, | ||
| settings: { |
There was a problem hiding this comment.
The use of the 'body' key has been deprecated, so moving the nested keys to the top level object.
node_modules/@elastic/elasticsearch/lib/api/typesWithBodyKey.d.ts line 8755
| }, | ||
| settings: { | ||
| index: {}, | ||
| mappings: { |
There was a problem hiding this comment.
The use of the 'body' key has been deprecated, so moving the nested keys to the top level object.
node_modules/@elastic/elasticsearch/lib/api/typesWithBodyKey.d.ts line 8755
|
|
||
| const resp = await esClient.asCurrentUser.bulk({ | ||
| body: bulk, | ||
| refresh: true, |
There was a problem hiding this comment.
Before - There were chances that new indices haven't refreshed before the next listing request:
incorrect_add_data_state.mov
After:
Screen.Recording.2023-09-12.at.11.41.42.mov
Thanks for pointing this out, I messed up the dashboard references in 2c998fd#diff-c047af719d3de4f7878bbfabb1b9b22c1e56fddf51d9ca9c1fa97e48235b7704. It should work now. |
|
Reviewed! |
kertal
left a comment
There was a problem hiding this comment.
I'm not sure, why @elastic/kibana-data-discovery team is assigned to review since there seems to be no code ownership here, but I just needed to test something in Security , and so I've been using this PR, and I works like expected. It's really nice to have this available with just a few clicks, thanks a lot 👍
|
Resolves #124463 |
|
@elasticmachine merge upstream |
💔 Build FailedFailed CI StepsMetrics [docs]Public APIs missing comments
Public APIs missing exports
Unknown metric groupsAPI count
ESLint disabled line counts
References to deprecated APIs
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @angorayc |
|
This PR will not make it in 8.11 as here are some more items to do:
|


Summary
Steps to verify:
Try sample data > Security Solution data > Add dataTry sample data > Security Solution data > Remove dataIt should remove sample data
It shouldn't affect existing auditbeat, logs or alerts data
It should remove relevant saved objects and ingest pipelines
Add Security Solution sample data:
Uploading Screen Recording 2023-09-20 at 20.48.28.mov…
remove_sample_data.mov
kibana_sample_data_securitysolution_alertsindexkibana_sample_data_securitysolution_auditbeatindexChecklist
Delete any items that are not applicable to this PR.