mirror of https://github.com/MISP/misp-modules
Fixed syntax error
parent
c06ceedfb8
commit
c1ca936910
|
@ -62,7 +62,7 @@ def handler(q=False):
|
||||||
|
|
||||||
if attrType:
|
if attrType:
|
||||||
eqlType = fieldmap[attrType]
|
eqlType = fieldmap[attrType]
|
||||||
event_type = event_type[eqlType]
|
event_type = event_types[eqlType]
|
||||||
fullEql = "{} where {} == \"{}\"".format(event_type, eqlType, request[attrType])
|
fullEql = "{} where {} == \"{}\"".format(event_type, eqlType, request[attrType])
|
||||||
else:
|
else:
|
||||||
misperrors['error'] = "Unsupported attributes type"
|
misperrors['error'] = "Unsupported attributes type"
|
||||||
|
|
Loading…
Reference in New Issue