Skip to content

Commit 11e3cba

Browse files
committed
Fix match phrase and not match phrase comparators
1 parent 0c0aaf0 commit 11e3cba

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

x-pack/plugins/infra/server/lib/alerting/log_threshold/register_log_threshold_alert_type.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ const criteriaSchema = schema.object({
5656
schema.literal(Comparator.NOT_EQ),
5757
schema.literal(Comparator.MATCH),
5858
schema.literal(Comparator.NOT_MATCH),
59+
schema.literal(Comparator.MATCH_PHRASE),
60+
schema.literal(Comparator.NOT_MATCH_PHRASE),
5961
]),
6062
value: schema.oneOf([schema.number(), schema.string()]),
6163
});

0 commit comments

Comments
 (0)