mirror of https://github.com/MISP/misp-modules
corrected variable name
parent
9e1bc5681b
commit
a91d50b507
misp_modules/modules/expansion
|
@ -81,7 +81,7 @@ class TruSTARParser:
|
||||||
trustar_obj = MISPObject('trustar_report')
|
trustar_obj = MISPObject('trustar_report')
|
||||||
indicator_type = summary.indicator_type
|
indicator_type = summary.indicator_type
|
||||||
indicator_value = summary.value
|
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],
|
trustar_obj.add_attribute(indicator_type, attribute_type=self.ENTITY_TYPE_MAPPINGS[indicator_type],
|
||||||
value=indicator_value)
|
value=indicator_value)
|
||||||
trustar_obj.add_attribute("INDICATOR_SUMMARY", attribute_type="text",
|
trustar_obj.add_attribute("INDICATOR_SUMMARY", attribute_type="text",
|
||||||
|
|
Loading…
Reference in New Issue