mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-07 09:48:58 +00:00
Added the cleanValue function for Qradar
This commit is contained in:
parent
38c19db1c5
commit
2837d3ba74
@ -52,6 +52,10 @@ class QRadarBackend(SingleTextQueryBackend):
|
||||
else:
|
||||
return key
|
||||
|
||||
def cleanValue(self, value):
|
||||
"""Remove quotes in text"""
|
||||
return value.replace("\'","\\\'")
|
||||
|
||||
def generateNode(self, node):
|
||||
if type(node) == sigma.parser.condition.ConditionAND:
|
||||
return self.generateANDNode(node)
|
||||
|
Loading…
Reference in New Issue
Block a user