mirror of https://github.com/MISP/misp-modules
correct key in map result
parent
f18f8fe05a
commit
3ec1535897
|
@ -61,7 +61,7 @@ def handle_expansion(api, ip, misperrors):
|
|||
if r['@category'] == 'pastries':
|
||||
if r['@type'] == 'pastebin':
|
||||
urls_pasties.append('https://pastebin.com/raw/%s' % r['key'])
|
||||
result_filtered['results'].append({'type': ['url'], 'values': urls_pasties})
|
||||
result_filtered['results'].append({'types': ['url'], 'values': urls_pasties})
|
||||
|
||||
return result_filtered
|
||||
|
||||
|
|
Loading…
Reference in New Issue