mirror of https://github.com/MISP/misp-modules
chg: [farsight_passivedns] Making first_time and last_time results human readable
- We get the datetime format instead of the raw timestampnew_features
parent
327a1ac893
commit
5077050a3e
|
@ -155,7 +155,8 @@ def parse_input(attribute, config):
|
||||||
lookup_args = {
|
lookup_args = {
|
||||||
'limit': config['limit'] if config.get('limit') else DEFAULT_LIMIT,
|
'limit': config['limit'] if config.get('limit') else DEFAULT_LIMIT,
|
||||||
'offset': 0,
|
'offset': 0,
|
||||||
'ignore_limited': True
|
'ignore_limited': True,
|
||||||
|
'humantime': True
|
||||||
}
|
}
|
||||||
if attribute.get('first_seen'):
|
if attribute.get('first_seen'):
|
||||||
lookup_args['time_first_after'] = parse_timestamp(attribute['first_seen'])
|
lookup_args['time_first_after'] = parse_timestamp(attribute['first_seen'])
|
||||||
|
|
Loading…
Reference in New Issue