mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-06 01:15:17 +00:00
Merge pull request #1477 from wagga40/master
Resolves #1450 - Bug in es-rule backend when using "-r" argument
This commit is contained in:
commit
691283616f
@ -1381,6 +1381,8 @@ class ElasticSearchRuleBackend(ElasticsearchQuerystringBackend):
|
||||
rule.update({"threshold": self.rule_threshold})
|
||||
if references:
|
||||
rule.update({"references": references})
|
||||
self.rule_type = "query"
|
||||
self.rule_threshold = {}
|
||||
return json.dumps(rule)
|
||||
|
||||
class KibanaNdjsonBackend(ElasticsearchQuerystringBackend, MultiRuleOutputMixin):
|
||||
|
Loading…
Reference in New Issue
Block a user