Skip to content

Commit

Permalink
update anomalyDetectors schema for job update
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Feb 13, 2020
1 parent 9d10143 commit 007288a
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,16 @@ export const anomalyDetectionUpdateJobSchema = {
schema.maybe(
schema.object({
detector_index: schema.number(),
custom_rules: schema.arrayOf(
schema.maybe(
schema.object({
actions: schema.arrayOf(schema.string()),
conditions: schema.arrayOf(schema.any()),
scope: schema.maybe(schema.any()),
})
description: schema.maybe(schema.string()),
custom_rules: schema.maybe(
schema.arrayOf(
schema.maybe(
schema.object({
actions: schema.arrayOf(schema.string()),
conditions: schema.arrayOf(schema.any()),
scope: schema.maybe(schema.any()),
})
)
)
),
})
Expand Down

0 comments on commit 007288a

Please sign in to comment.