MCPcopy Create free account
hub / github.com/STIXProject/python-stix / __init__

Method __init__

stix/threat_actor/__init__.py:82–97  ·  view source on GitHub ↗
(self, id_=None, idref=None, timestamp=None, title=None,
                 description=None, short_description=None)

Source from the content-addressed store, hash-verified

80 information_source = fields.TypedField("Information_Source", InformationSource)
81
82 def __init__(self, id_=None, idref=None, timestamp=None, title=None,
83 description=None, short_description=None):
84
85 super(ThreatActor, self).__init__(
86 id_=id_,
87 idref=idref,
88 timestamp=timestamp,
89 title=title,
90 description=description,
91 short_description=short_description
92 )
93
94 self.observed_ttps = ObservedTTPs()
95 self.associated_campaigns = AssociatedCampaigns()
96 self.associated_actors = AssociatedActors()
97 self.related_packages = RelatedPackageRefs()
98
99 def add_type(self, value):
100 """Adds a :class:`.VocabString` object to the :attr:`types` collection.

Callers

nothing calls this directly

Calls 4

RelatedPackageRefsClass · 0.90
ObservedTTPsClass · 0.85
AssociatedActorsClass · 0.85
AssociatedCampaignsClass · 0.70

Tested by

no test coverage detected