From 03a16fefef01b8aa04f723a7520912268084df26 Mon Sep 17 00:00:00 2001 From: Adrien RAFFIN Date: Tue, 21 Feb 2017 14:29:44 +0100 Subject: [PATCH] feature: Add support for authkey in PyMISP operations --- pymisp/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pymisp/api.py b/pymisp/api.py index 6e7a7f3..4369d8e 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -1187,6 +1187,8 @@ class PyMISP(object): user['termsaccepted'] = kwargs.get('termsaccepted') if kwargs.get('newsread'): user['newsread'] = kwargs.get('newsread') + if kwargs.get('authkey'): + user['authkey'] = kwargs.get('authkey') return user def get_users_list(self):