Skip to content

Commit bfb1f9d

Browse files
committed
fix: [stix2 export] Removed the characters escaping for patterning language objects
1 parent a7a14d5 commit bfb1f9d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

misp_stix_converter/misp2stix/misp_to_stix21.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,6 @@ def _parse_sigma_object(self, misp_object: MISPObject | dict):
14421442
feature = self._mapping.sigma_object_mapping(relation)
14431443
if feature is not None:
14441444
if relation == 'sigma':
1445-
value = self._handle_value_for_pattern(attribute['value'])
14461445
indicator_args['pattern_type'] = attribute['type']
14471446
indicator_args[feature] = value
14481447
else:
@@ -1470,7 +1469,6 @@ def _parse_suricata_object(self, misp_object: MISPObject | dict):
14701469
feature = self._mapping.suricata_object_mapping(relation)
14711470
if feature is not None:
14721471
if relation == 'suricata':
1473-
value = self._handle_value_for_pattern(value)
14741472
indicator_args['pattern_type'] = attribute['type']
14751473
indicator_args[feature] = value
14761474
else:
@@ -1513,7 +1511,6 @@ def _parse_yara_object(self, misp_object: MISPObject | dict):
15131511
feature = self._mapping.yara_object_mapping(relation)
15141512
if feature is not None:
15151513
if relation == 'yara':
1516-
value = self._handle_value_for_pattern(value)
15171514
indicator_args['pattern_type'] = attribute['type']
15181515
indicator_args[feature] = value
15191516
else:

0 commit comments

Comments
 (0)