From a92e2a2d432e06a6f3dc223722e7149a373c1486 Mon Sep 17 00:00:00 2001 From: Nils Kuhnert Date: Thu, 8 Nov 2018 08:51:20 +0100 Subject: [PATCH] Fixes date parameters for search_index() function --- pymisp/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pymisp/api.py b/pymisp/api.py index 3011ec0..d240ef3 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -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"],