We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d719203 commit 28e3ff1Copy full SHA for 28e3ff1
elastalert/loaders.py
@@ -90,7 +90,7 @@ class RulesLoader(object):
90
91
def __init__(self, conf):
92
# schema for rule yaml
93
- self.rule_schema = jsonschema.Draft4Validator(
+ self.rule_schema = jsonschema.Draft7Validator(
94
yaml.load(open(os.path.join(os.path.dirname(__file__), 'schema.yaml')), Loader=yaml.FullLoader))
95
96
self.base_config = copy.deepcopy(conf)
elastalert/schema.yaml
@@ -1,4 +1,4 @@
1
-$schema: http://json-schema.org/draft-04/schema#
+$schema: http://json-schema.org/draft-07/schema#
2
definitions:
3
4
# Either a single string OR an array of strings
0 commit comments