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