mirror of https://github.com/MISP/PyMISP
fix: [AnalystData] Added missing properties for Notes and Opinions
- This is now needed because MISPNote and MISPOpinion are no longer part of AnalystDataBehaviorMixin and cannot then get them from theremain
parent
ea8fd62c41
commit
614d2e0ca1
|
@ -2532,6 +2532,14 @@ class MISPAnalystData(AbstractMISP):
|
|||
def analyst_data_object_type(self) -> str:
|
||||
return self._analyst_data_object_type
|
||||
|
||||
@property
|
||||
def notes(self) -> list[MISPNote]:
|
||||
return self.Note
|
||||
|
||||
@property
|
||||
def opinions(self) -> list[MISPOpinion]:
|
||||
return self.Opinion
|
||||
|
||||
@property
|
||||
def org(self) -> MISPOrganisation:
|
||||
return self.Org
|
||||
|
|
Loading…
Reference in New Issue