mirror of https://github.com/MISP/misp-modules
added comments
parent
0b576faa68
commit
91417d390b
|
@ -85,6 +85,7 @@ class TruSTARParser:
|
||||||
redundancy.
|
redundancy.
|
||||||
|
|
||||||
:param: <OrderedDict> Enrichment data.
|
:param: <OrderedDict> Enrichment data.
|
||||||
|
:return: <list> List of tags.
|
||||||
"""
|
"""
|
||||||
if enrichment_report and enrichment_report.get('tags'):
|
if enrichment_report and enrichment_report.get('tags'):
|
||||||
return [tag.get('name') for tag in enrichment_report.pop('tags')]
|
return [tag.get('name') for tag in enrichment_report.pop('tags')]
|
||||||
|
|
Loading…
Reference in New Issue