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