corrected variable name

pull/409/head
Jesse Hedden 2020-06-27 17:29:01 -07:00
parent 9e1bc5681b
commit a91d50b507
1 changed files with 1 additions and 1 deletions

View File

@ -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",