Skip to content

Commit

Permalink
Prevents xpack.task_manager.index being set to .tasks (#52002) (#52019)
Browse files Browse the repository at this point in the history
A quick solution in preventing what was described in kibana#47716

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
  • Loading branch information
Tyler Smalley committed Dec 2, 2019
1 parent df6de27 commit 59d3099
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/legacy/plugins/task_manager/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
Expand Down

0 comments on commit 59d3099

Please sign in to comment.