mirror of
https://github.com/elastic/kibana.git
synced 2025-07-01 04:23:21 -04:00
## Summary closes #154047 - Exposes reusable `Transform` that will calculate a File's hash and store it with the file's metadata. This Transform is "opt in" and not the default behaviour. - The `File.uploadContent()` method was enhanced to optionally accept `options.transforms Array<Transform>`, thus allowing consumer of the service to defined an additional set to be included in the file's processing pipeline. The upload process was also altered to recognize the use of the new `FileHashTransform` and store the file's `hash` if it is used. - Saved Object schema was also updated to include mappings for the `file.hash` property. This update also impacts the creation of indexes when the `FileClient` is created with custom indexes and those don't yet exist. |
||
---|---|---|
.. | ||
context | ||
file_picker/impl | ||
file_upload/impl | ||
image | ||
mocks | ||
types | ||
util |