mirror of https://github.com/MISP/misp-modules
fix: Quick variable name fix
parent
9da6a3744c
commit
9c9f01b6ff
|
@ -26,7 +26,7 @@ class PassiveSSLParser():
|
|||
|
||||
def get_results(self):
|
||||
if hasattr(self, 'result'):
|
||||
return self.results
|
||||
return self.result
|
||||
event = json.loads(self.misp_event.to_json())
|
||||
results = {key:event[key] for key in ('Attribute', 'Object')}
|
||||
return {'results': results}
|
||||
|
|
Loading…
Reference in New Issue