chg: Support for Payload Delivery > Other attribute as PyMISP function

pull/306/head
Tom King 2018-11-28 14:27:16 +00:00
parent 1343432e32
commit d3f38ce092
1 changed files with 6 additions and 0 deletions

View File

@ -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 #########
# ##################################################