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

Method add_report

stix/core/stix_package.py:185–191  ·  view source on GitHub ↗

Adds a :class:`.Report` object to the :attr:`reports` collection.

(self, report)

Source from the content-addressed store, hash-verified

183 self.ttps.append(ttp)
184
185 def add_report(self, report):
186 """Adds a :class:`.Report` object to the :attr:`reports` collection.
187
188 """
189 if self.reports is None:
190 self.reports = Reports()
191 self.reports.append(report)
192
193 def add_related_package(self, related_package):
194 """Adds a :class:`.RelatedPackage` object to the

Callers

nothing calls this directly

Calls 1

ReportsClass · 0.85

Tested by

no test coverage detected