fix: [stix2 import] Fixed network socket values from pattern

pull/4861/head
chrisr3d 2019-07-05 10:06:43 +02:00
parent ed364cc15f
commit 9f21bfd8bf
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 0 deletions

View File

@ -863,6 +863,7 @@ class StixFromMISPParser(StixParser):
attributes = []
for p in pattern:
p_type, p_value = p.split(' = ')
p_value = p_value[1:-1]
try:
mapping = network_traffic_mapping[p_type]
except KeyError: