Skip to content

Commit

Permalink
fix: [MISP export] misp response parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Feb 21, 2020
1 parent b04b3dc commit 32b0231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/export/MispExport.py
Expand Up @@ -390,8 +390,8 @@ def create_misp_event(event, distribution=0, threat_level_id=4, publish=False, a

def extract_event_metadata(event):
event_metadata = {}
event_metadata['uuid'] = event.uuid
event_metadata['id'] = event.id
event_metadata['uuid'] = event['Event']['uuid']
event_metadata['id'] = event['Event']['id']
if misp_url[-1] == '/':
event_metadata['url'] = misp_url + 'events/view/' + str(event_metadata['id'])
else:
Expand Down

0 comments on commit 32b0231

Please sign in to comment.