mirror of https://github.com/MISP/PyMISP
chg: Remove roaming as it can't be set in this request
parent
ffcc7e0631
commit
709ba2c29c
|
@ -2241,7 +2241,7 @@ class PyMISP(object):
|
|||
# ######################
|
||||
# ### Sharing Groups ###
|
||||
# ######################
|
||||
def add_sharing_group(self, name, releasability, description, active=True, roaming=False):
|
||||
def add_sharing_group(self, name, releasability, description, active=True):
|
||||
"""Add a new sharing group, which includes the organisation associated
|
||||
with the API key and the local server
|
||||
|
||||
|
@ -2249,13 +2249,11 @@ class PyMISP(object):
|
|||
:releasability: The releasibility information
|
||||
:description: The description of the sharing group
|
||||
:active: Should the sharing group be set to be active?
|
||||
:roaming: Should the sharing group be allowed to roam?
|
||||
"""
|
||||
|
||||
new_sg = MISPSharingGroup()
|
||||
new_sg.from_dict(name=name, releasability=releasability,
|
||||
description=description, active=active, roaming=roaming)
|
||||
|
||||
description=description, active=active)
|
||||
return self._rest_add('sharing_groups', new_sg)
|
||||
|
||||
def sharing_group_org_add(self, sharing_group, organisation, extend=False):
|
||||
|
|
Loading…
Reference in New Issue