Fixes date parameters for search_index() function

pull/295/head
Nils Kuhnert 2018-11-08 08:51:20 +01:00
parent ada955a9e6
commit a92e2a2d43
No known key found for this signature in database
GPG Key ID: 3591DD5B3103ED50
1 changed files with 2 additions and 2 deletions

View File

@ -1054,8 +1054,8 @@ class PyMISP(object):
:param normalize: Normalize output | True or False
:param timestamp: Interval since last update (in second, or 1d, 1h, ...)
"""
allowed = {'published': published, 'eventid': eventid, 'tag': tag, 'Dateuntil': dateuntil,
'Datefrom': datefrom, 'eventinfo': eventinfo, 'threatlevel': threatlevel,
allowed = {'published': published, 'eventid': eventid, 'tag': tag, 'dateuntil': dateuntil,
'datefrom': datefrom, 'eventinfo': eventinfo, 'threatlevel': threatlevel,
'distribution': distribution, 'analysis': analysis, 'attribute': attribute,
'org': org, 'timestamp': timestamp}
rule_levels = {'distribution': ["0", "1", "2", "3", "!0", "!1", "!2", "!3"],