mirror of https://github.com/MISP/misp-modules
fix: [farsight_passivedns] Excluding last_seen value for now, in order to get the available results
- With last_seen set we can easily get results included in a certain time frame (between first seen and last seen), but we do not get the latest results. In order to get those ones, we skip filtering on the time_last_before valuepull/496/head
parent
0dc0d59ed9
commit
505bbbc20a
|
@ -160,8 +160,6 @@ def parse_input(attribute, config):
|
|||
}
|
||||
if attribute.get('first_seen'):
|
||||
lookup_args['time_first_after'] = parse_timestamp(attribute['first_seen'])
|
||||
if attribute.get('last_seen'):
|
||||
lookup_args['time_last_before'] = parse_timestamp(attribute['last_seen'])
|
||||
attribute_type = attribute['type']
|
||||
if attribute_type in flex_query_input:
|
||||
return flex_queries, (lookup_args, attribute['value'])
|
||||
|
|
Loading…
Reference in New Issue