Adds an :class:`.TTP` object to the :attr:`ttps` collection.
(self, ttp)
| 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 |