Browse Source

corrected variable name

pull/409/head
Jesse Hedden 1 year ago
parent
commit
a91d50b507
  1. 2
      misp_modules/modules/expansion/trustar_enrich.py

2
misp_modules/modules/expansion/trustar_enrich.py

@ -81,7 +81,7 @@ class TruSTARParser:
trustar_obj = MISPObject('trustar_report')
indicator_type = summary.indicator_type
indicator_value = summary.value
if summary_type in self.ENTITY_TYPE_MAPPINGS:
if indicator_type in self.ENTITY_TYPE_MAPPINGS:
trustar_obj.add_attribute(indicator_type, attribute_type=self.ENTITY_TYPE_MAPPINGS[indicator_type],
value=indicator_value)
trustar_obj.add_attribute("INDICATOR_SUMMARY", attribute_type="text",

Loading…
Cancel
Save