mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-08 10:13:57 +00:00
Merge pull request #469 from stevengoossensB/master
Added the cleanValue function for Qradar
This commit is contained in:
commit
8c8ac52b57
@ -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