To make it working with 2.4

Change in Org json struct from 2.3 to 2.4
v1
ebouillon 2016-02-21 17:40:37 +01:00
parent 8c5322687a
commit 1242281b03
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def retrieveEvents(mt, enFilter, enValue):
for e in result['response']:
eid = e['Event']['id']
einfo = e['Event']['info']
eorgc = e['Event']['orgc']
eorgc = e['Event']['Orgc']['name']
me = MaltegoEntity('maltego.MISPEvent',eid);
me.addAdditionalFields('EventLink', 'EventLink', False, BASE_URL + '/events/view/' + eid )
me.addAdditionalFields('Org', 'Org', False, eorgc)