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

Method add_ttp

stix/report/__init__.py:164–170  ·  view source on GitHub ↗

Adds an :class:`.TTP` object to the :attr:`ttps` collection.

(self, ttp)

Source from the content-addressed store, hash-verified

162 self.exploit_targets.append(exploit_target)
163
164 def add_ttp(self, ttp):
165 """Adds an :class:`.TTP` object to the :attr:`ttps` collection.
166
167 """
168 if self.ttps is None:
169 self.ttps = TTPs()
170 self.ttps.append(ttp)
171
172 def add_related_report(self, related_report):
173 """Adds an :class:`.RelatedReport` object to the

Callers

nothing calls this directly

Calls 1

TTPsClass · 0.90

Tested by

no test coverage detected