From d0435356f0b634387337e0a6f2579fa94290cd2f Mon Sep 17 00:00:00 2001 From: Christian Studer Date: Fri, 6 Dec 2024 23:00:16 +0100 Subject: [PATCH] fix: [stix2 import] Removed duplicated property method already present in a parent class --- .../converters/stix2_observable_objects_converter.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/misp_stix_converter/stix2misp/converters/stix2_observable_objects_converter.py b/misp_stix_converter/stix2misp/converters/stix2_observable_objects_converter.py index 3e4b50b..2d76471 100644 --- a/misp_stix_converter/stix2misp/converters/stix2_observable_objects_converter.py +++ b/misp_stix_converter/stix2misp/converters/stix2_observable_objects_converter.py @@ -206,6 +206,7 @@ def _parse_software_observable_object( observable['misp_object'] = misp_object return misp_object + class STIX2ObservableObjectConverter( STIX2SampleObervableParser, ExternalSTIX2ObservableConverter): def __init__(self, main: 'ExternalSTIX2toMISPParser'): @@ -616,10 +617,6 @@ class STIX2SampleObservableConverter(STIX2SampleObervableParser): def __init__(self, main: _MAIN_CONVERTER_TYPING): self._main_converter = main - @property - def event_uuid(self) -> str: - return self.main_parser.misp_event.uuid - @property def main_parser(self) -> 'ExternalSTIX2toMISPParser': return self._main_converter.main_parser