chg: [crawler/misp-galaxy] add link and crawler import

main
Alexandre Dulaunoy 2021-06-01 08:43:43 +02:00
parent 7b23cbd211
commit 7dc5691ebc
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@ for element in cluster['values']:
data['description'] = element['description']
data['misp-galaxy:value'] = element['value']
data['raw'] = json.dumps(element)
data['link'] = args.url
data['_cycat_crawler'] = __file__
if 'related' in element:
for rel in element['related']:
addrelationship(uuidsource=data['uuid'], uuiddest=rel['dest-uuid'], data=json.dumps(rel))