[ML] Fixing schema for custom rule conditions (#74676)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
01d8f00b50
commit
8d9bafeb57
|
@ -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()),
|
||||
})
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue