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

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 14:14:05 -08:00 committed by GitHub
parent df6de27480
commit 59d3099acd
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.'