kibana/x-pack/test/security_solution_endpoint_api_int
Mark Hopkin a75bd33887
[Fleet] Create file upload write indices on setup or package install (#145295)
## Summary

Part of #143459.

Create the write index for the diagnostic file upload feature on package
install, also check installed packages on setup and create indices if
they do not exist.

This is behind a feature flag until the whole feature is released:
`--xpack.fleet.enableExperimental.0=diagnosticFileUploadEnabled`

As we use plain indices for file upload, before the files can be
uploaded we need to create the write index e.g
`.fleet-file-data-agent-00001` wjhich would be the write index for the
alias `.fleet-file-data-agent`

### Checklist

Delete any items that are not applicable to this PR.

- [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
2022-11-16 15:28:13 +00:00
..
apis [Fleet] Create file upload write indices on setup or package install (#145295) 2022-11-16 15:28:13 +00:00
services fix all violations 2022-04-16 01:37:30 -05:00
config.ts [Fleet] Create file upload write indices on setup or package install (#145295) 2022-11-16 15:28:13 +00:00
ftr_provider_context.d.ts [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
registry.ts Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00