Adds an :class:`.TTP` object to the :attr:`ttps` collection.
(self, ttp)
| 175 | self.exploit_targets.append(exploit_target) |
| 176 | |
| 177 | def add_ttp(self, ttp): |
| 178 | """Adds an :class:`.TTP` object to the :attr:`ttps` collection. |
| 179 | |
| 180 | """ |
| 181 | if self.ttps is None: |
| 182 | self.ttps = TTPs() |
| 183 | self.ttps.append(ttp) |
| 184 | |
| 185 | def add_report(self, report): |
| 186 | """Adds a :class:`.Report` object to the :attr:`reports` collection. |