Added the cleanValue function for Qradar

This commit is contained in:
Steven Goossens 2019-10-16 10:27:24 +02:00
parent 38c19db1c5
commit 2837d3ba74

View File

@ -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)