mirror of https://github.com/MISP/MISP
fix: [stix2 import] Fixed network socket values from pattern
parent
ed364cc15f
commit
9f21bfd8bf
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue