From f5a9e52f9644881a308487d1239854693b3fc701 Mon Sep 17 00:00:00 2001 From: Tyler Smalley Date: Mon, 2 Dec 2019 12:55:52 -0800 Subject: [PATCH] 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 --- x-pack/legacy/plugins/task_manager/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/task_manager/index.ts b/x-pack/legacy/plugins/task_manager/index.ts index 0fda1490de714..4fde229fbddeb 100644 --- a/x-pack/legacy/plugins/task_manager/index.ts +++ b/x-pack/legacy/plugins/task_manager/index.ts @@ -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.'