enabled published search parameter for attributes controler

pull/247/head
Tobias Mainka 2018-06-28 10:43:21 +02:00
parent 3dbc88d241
commit 23b16e96b2
1 changed files with 1 additions and 1 deletions

View File

@ -1161,12 +1161,12 @@ class PyMISP(object):
query['enforceWarninglist'] = kwargs.pop('enforceWarninglist', None) query['enforceWarninglist'] = kwargs.pop('enforceWarninglist', None)
query['to_ids'] = kwargs.pop('to_ids', None) query['to_ids'] = kwargs.pop('to_ids', None)
query['deleted'] = kwargs.pop('deleted', None) query['deleted'] = kwargs.pop('deleted', None)
query['published'] = kwargs.pop('published', None)
if controller == 'events': if controller == 'events':
# Event search only: # Event search only:
query['searchall'] = kwargs.pop('searchall', None) query['searchall'] = kwargs.pop('searchall', None)
query['metadata'] = kwargs.pop('metadata', None) query['metadata'] = kwargs.pop('metadata', None)
query['published'] = kwargs.pop('published', None)
if controller == 'attributes': if controller == 'attributes':
query['event_timestamp'] = kwargs.pop('event_timestamp', None) query['event_timestamp'] = kwargs.pop('event_timestamp', None)