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 timestamppull/496/head
parent
d7b529d3fe
commit
a6a8978b20
|
@ -154,7 +154,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
|
||||||
}
|
}
|
||||||
attribute_type = attribute['type']
|
attribute_type = attribute['type']
|
||||||
if attribute_type in flex_query_input:
|
if attribute_type in flex_query_input:
|
||||||
|
|
Loading…
Reference in New Issue