Skip to content

Commit

Permalink
Merge pull request #1499 from OlehPalanskyi/master
Browse files Browse the repository at this point in the history
fixed fields types error on instance indexer_alert_config  in schema.yml
  • Loading branch information
jertel authored Jul 26, 2024
2 parents 70bc1d8 + e0e8a2f commit 6b58dc3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- TBD

## Other changes
- TBD
- [Indexer] Fixed fields types error on instance indexer_alert_config in schema.yml - [#1499](https://github.com/jertel/elastalert2/pull/1499) - @olehpalanskyi

# 2.19.0

Expand Down
11 changes: 8 additions & 3 deletions elastalert/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -562,11 +562,16 @@ properties:
"^.+$":
oneOf:
- type: [boolean, string, integer]
- type: array
items:
type: object
properties:
name: { type: string , minLength: 1 }
value: { type: [boolean, string, integer] , minLength: 1 }
"^.+$": { type: [boolean, string, integer], minLength: 1 }
- type: object
additionalProperties: false
required: [ field ]
properties:
field: { type: [boolean, string, integer], minLength: 1 }
"^.+$": { type: [boolean, string, integer], minLength: 1 }

### IRIS
iris_host: {type: string}
Expand Down

0 comments on commit 6b58dc3

Please sign in to comment.