Beispiel #1
0
 def _create_targets_relationships(
         self, sources: List[_DomainObject],
         targets: List[_DomainObject]) -> List[Relationship]:
     return create_targets_relationships(
         self.author,
         sources,
         targets,
         self.confidence_level,
         self.object_markings,
         start_time=self.first_seen,
     )
Beispiel #2
0
 def _create_targets_relationships(
         self, sources: List[STIXDomainObject],
         targets: List[STIXDomainObject]) -> List[Relationship]:
     return create_targets_relationships(
         self.author,
         sources,
         targets,
         self.object_marking_refs,
         self.first_seen,
         self.last_seen,
         self.confidence_level,
     )