From ef0a3eea3c29b4a3b3e0869503b5cd8008d7a52a Mon Sep 17 00:00:00 2001 From: "LUCAS-PC\\lucas" Date: Fri, 27 Sep 2024 11:55:50 +0100 Subject: [PATCH] schema updates --- elastalert/schema.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/elastalert/schema.yaml b/elastalert/schema.yaml index 99e4d100..9cfc9d18 100644 --- a/elastalert/schema.yaml +++ b/elastalert/schema.yaml @@ -745,22 +745,13 @@ properties: opsgenie_message: {type: string} opsgenie_priority: {type: string} opsgenie_proxy: {type: string} - opsgenie_recipients_args: - oneOf: - - *arrayOfString - - *opsGenieArgs + opsgenie_recipients_args: *opsGenieArgs opsgenie_recipients: *arrayOfString opsgenie_source: {type: string} opsgenie_subject: {type: string} - opsgenie_subject_args: - oneOf: - - *arrayOfString - - *opsGenieArgs + opsgenie_subject_args: *arrayOfString opsgenie_tags: *arrayOfString - opsgenie_teams_args: - oneOf: - - *arrayOfString - - *opsGenieArgs + opsgenie_teams_args: *opsGenieArgs opsgenie_teams: *arrayOfString