fix: [stix1 import] Quick variable name fix

pull/9044/head
Christian Studer 2023-04-26 13:56:41 +02:00
parent b19e5e5d7a
commit 3e2349b14d
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -1432,7 +1432,7 @@ class ExternalStixParser(StixParser):
if isinstance(attribute_value, list):
attributes.extend([{'type': attribute_type, 'value': value, 'to_ids': False} for value in attribute_value])
else:
attribute.append({'type': attribute_type, 'value': attribute_value, 'to_ids': False})
attributes.append({'type': attribute_type, 'value': attribute_value, 'to_ids': False})
if ttp.exploit_targets and ttp.exploit_targets.exploit_target:
for exploit_target in ttp.exploit_targets.exploit_target:
if exploit_target.item.vulnerabilities: