mirror of https://github.com/MISP/misp-modules
Merge branch 'main' of github.com:MISP/misp-modules into main
commit
a4e9fe456e
|
@ -52,7 +52,7 @@ class VirusTotalParser(object):
|
||||||
'downloaded': 'downloaded-from',
|
'downloaded': 'downloaded-from',
|
||||||
'referrer': 'referring'}
|
'referrer': 'referring'}
|
||||||
siblings = (self.parse_siblings(domain) for domain in req['domain_siblings'])
|
siblings = (self.parse_siblings(domain) for domain in req['domain_siblings'])
|
||||||
uuid = self.parse_resolutions(req['resolutions'], req['subdomains'], siblings)
|
uuid = self.parse_resolutions(req['resolutions'], req['subdomains'] if 'subdomains' in req else None, siblings)
|
||||||
for feature_type, relationship in feature_types.items():
|
for feature_type, relationship in feature_types.items():
|
||||||
for feature in ('undetected_{}_samples', 'detected_{}_samples'):
|
for feature in ('undetected_{}_samples', 'detected_{}_samples'):
|
||||||
for sample in req.get(feature.format(feature_type), [])[:self.limit]:
|
for sample in req.get(feature.format(feature_type), [])[:self.limit]:
|
||||||
|
|
Loading…
Reference in New Issue