chg: [farsight_passivedns] Making first_time and last_time results human readable

- We get the datetime format instead of the raw
  timestamp
new_features
chrisr3d 2021-03-30 03:47:34 +02:00
parent 327a1ac893
commit 5077050a3e
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 2 additions and 1 deletions

View File

@ -155,7 +155,8 @@ def parse_input(attribute, config):
lookup_args = {
'limit': config['limit'] if config.get('limit') else DEFAULT_LIMIT,
'offset': 0,
'ignore_limited': True
'ignore_limited': True,
'humantime': True
}
if attribute.get('first_seen'):
lookup_args['time_first_after'] = parse_timestamp(attribute['first_seen'])