sigmac: Fixed matching of log sources between rules and configuration

This commit is contained in:
Thomas Patzke 2017-09-16 00:32:31 +02:00
parent fdb017f626
commit d3201229b0

View File

@ -871,7 +871,7 @@ class SigmaLogsourceConfiguration:
for searchval, selfval in zip((category, product, service), (self.category, self.product, self.service)):
if searchval == None and selfval != None:
return False
if searchval != None:
if selfval != None:
searched += 1
if searchval != selfval:
return False