From d3f38ce092feb34636914db80155f8421af43928 Mon Sep 17 00:00:00 2001 From: Tom King Date: Wed, 28 Nov 2018 14:27:16 +0000 Subject: [PATCH] chg: Support for Payload Delivery > Other attribute as PyMISP function --- pymisp/api.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pymisp/api.py b/pymisp/api.py index 4e0f8a5..014a13a 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -859,6 +859,12 @@ class PyMISP(object): """Add other text""" return self.add_named_attribute(event, 'text', reference, category, to_ids, comment, distribution, proposal, **kwargs) + # ##### Payload delivery attributes ##### + + def add_payload_other(self, event, reference, category="Payload delivery", to_ids=False, comment=None, distribution=None, proposal=False, **kwargs): + """Add payload other""" + return self.add_named_attribute(event, 'other', reference, category, to_ids, comment, distribution, proposal, **kwargs) + # ################################################## # ######### Upload samples through the API ######### # ##################################################