Prevents xpack.task_manager.index being set to .tasks (#52002)

A quick solution in preventing what was described in kibana#47716

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
Tyler Smalley 2019-12-02 12:55:52 -08:00 committed by GitHub
parent fe24b3d441
commit d0d6d43aee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,8 @@ export function taskManager(kibana: any) {
.default(3000),
index: Joi.string()
.description('The name of the index used to store task information.')
.default('.kibana_task_manager'),
.default('.kibana_task_manager')
.invalid(['.tasks']),
max_workers: Joi.number()
.description(
'The maximum number of tasks that this Kibana instance will run simultaneously.'