From ec508191ca260acde4b1e88b38359a86c433a809 Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 20 Oct 2016 09:49:06 +0100 Subject: [PATCH] Including Network-Other option for API --- pymisp/api.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pymisp/api.py b/pymisp/api.py index c44577b..8844d90 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -606,6 +606,11 @@ class PyMISP(object): attributes.append(self._prepare_full_attribute(category, 'snort', snort, to_ids, comment, distribution)) return self._send_attributes(event, attributes, proposal) + def add_net_other(self, event, netother, category='Network activity', to_ids=True, comment=None, distribution=None, proposal=False): + attributes = [] + attributes.append(self._prepare_full_attribute(category, 'other', netother, to_ids, comment, distribution)) + return self._send_attributes(event, attributes, proposal) + # ##### Email attributes ##### def add_email_src(self, event, email, to_ids=True, comment=None, distribution=None, proposal=False):