Skip to content

Commit

Permalink
[ML] Fixing schema for custom rule conditions (elastic#74676)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
jgowdyelastic and elasticmachine committed Aug 11, 2020
1 parent bcf3379 commit 8454db6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const customRulesSchema = schema.maybe(
schema.maybe(
schema.object({
actions: schema.arrayOf(schema.string()),
conditions: schema.arrayOf(schema.any()),
conditions: schema.maybe(schema.arrayOf(schema.any())),
scope: schema.maybe(schema.any()),
})
)
Expand Down

0 comments on commit 8454db6

Please sign in to comment.