Skip to content

Commit

Permalink
[ML] Fixing schema for custom rule conditions (#74676) (#74730)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
jgowdyelastic and elasticmachine authored Aug 11, 2020
1 parent 4e9311f commit 086be78
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 086be78

Please sign in to comment.