Skip to content

[9.2] [FSH] Migrated fs usage to kbn/fs for sample ingest (#244163)#245613

Merged
elena-shostak merged 8 commits intoelastic:9.2from
elena-shostak:backport/9.2/pr-244163
Dec 11, 2025
Merged

[9.2] [FSH] Migrated fs usage to kbn/fs for sample ingest (#244163)#245613
elena-shostak merged 8 commits intoelastic:9.2from
elena-shostak:backport/9.2/pr-244163

Conversation

@elena-shostak
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

## Summary

Migrated `fs` usage to `@kbn/fs` for sample ingest in scope of
filesystem hardening initiative.

### Checklist

- [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
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

__Relates: https://github.com/elastic/kibana/issues/239385__

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Yan Savitski <yan.savitski@elastic.co>
(cherry picked from commit e7ebe47)

# Conflicts:
#	x-pack/platform/plugins/shared/sample_data_ingest/moon.yml
#	x-pack/platform/plugins/shared/sample_data_ingest/server/plugin.ts
#	x-pack/platform/plugins/shared/sample_data_ingest/server/services/artifact_manager/artifact_manager.ts
#	x-pack/platform/plugins/shared/sample_data_ingest/server/services/artifact_manager/utils/download.test.ts
#	x-pack/platform/plugins/shared/sample_data_ingest/server/services/artifact_manager/utils/download.ts
#	x-pack/platform/plugins/shared/sample_data_ingest/tsconfig.json
@elena-shostak elena-shostak added the backport This PR is a backport of another PR label Dec 9, 2025
@elena-shostak elena-shostak enabled auto-merge (squash) December 9, 2025 10:43
@elena-shostak elena-shostak merged commit 8fe8b80 into elastic:9.2 Dec 11, 2025
12 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/fs 2 5 +3
Unknown metric groups

API count

id before after diff
@kbn/fs 38 41 +3

History

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.

4 participants