mirror of https://github.com/MISP/misp-modules
Return verified UUIDs
parent
2b88f22130
commit
3c121e1ce8
|
@ -26,9 +26,8 @@ def handler(q=False):
|
|||
request = json.loads(q) # Assuming request has two keys: config & mispevent (mispevent being the json dump of the event)
|
||||
mispevent = MISPEvent()
|
||||
mispevent.load(request['mispevent'])
|
||||
mispevent.verify(mispevent.Org['uuid'])
|
||||
# TODO: what do we return there?
|
||||
# return json.dumps(mispevent, cls=EncodeUpdate)
|
||||
verified = mispevent.verify(mispevent.Org['uuid'])
|
||||
return json.dumps(verified)
|
||||
|
||||
|
||||
def introspection():
|
||||
|
|
Loading…
Reference in New Issue