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)
|
request = json.loads(q) # Assuming request has two keys: config & mispevent (mispevent being the json dump of the event)
|
||||||
mispevent = MISPEvent()
|
mispevent = MISPEvent()
|
||||||
mispevent.load(request['mispevent'])
|
mispevent.load(request['mispevent'])
|
||||||
mispevent.verify(mispevent.Org['uuid'])
|
verified = mispevent.verify(mispevent.Org['uuid'])
|
||||||
# TODO: what do we return there?
|
return json.dumps(verified)
|
||||||
# return json.dumps(mispevent, cls=EncodeUpdate)
|
|
||||||
|
|
||||||
|
|
||||||
def introspection():
|
def introspection():
|
||||||
|
|
Loading…
Reference in New Issue