mirror of https://github.com/MISP/PyMISP
Merge pull request #295 from 3c7/fix/search_index_date
Fixes date parameters for search_index() functionpull/301/head
commit
e37ef661e6
|
@ -1054,8 +1054,8 @@ class PyMISP(object):
|
||||||
:param normalize: Normalize output | True or False
|
:param normalize: Normalize output | True or False
|
||||||
:param timestamp: Interval since last update (in second, or 1d, 1h, ...)
|
:param timestamp: Interval since last update (in second, or 1d, 1h, ...)
|
||||||
"""
|
"""
|
||||||
allowed = {'published': published, 'eventid': eventid, 'tag': tag, 'Dateuntil': dateuntil,
|
allowed = {'published': published, 'eventid': eventid, 'tag': tag, 'dateuntil': dateuntil,
|
||||||
'Datefrom': datefrom, 'eventinfo': eventinfo, 'threatlevel': threatlevel,
|
'datefrom': datefrom, 'eventinfo': eventinfo, 'threatlevel': threatlevel,
|
||||||
'distribution': distribution, 'analysis': analysis, 'attribute': attribute,
|
'distribution': distribution, 'analysis': analysis, 'attribute': attribute,
|
||||||
'org': org, 'timestamp': timestamp}
|
'org': org, 'timestamp': timestamp}
|
||||||
rule_levels = {'distribution': ["0", "1", "2", "3", "!0", "!1", "!2", "!3"],
|
rule_levels = {'distribution': ["0", "1", "2", "3", "!0", "!1", "!2", "!3"],
|
||||||
|
|
Loading…
Reference in New Issue