Skip to content

Commit

Permalink
Merge branch 'parser_feature' of github.com:MISP/misp-stix into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisr3d committed Dec 6, 2024
2 parents c89f143 + d043535 commit 92c6765
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 92c6765

Please sign in to comment.