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 value
new_features
chrisr3d 2021-03-30 17:34:01 +02:00
parent 0dc0d59ed9
commit 505bbbc20a
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 0 additions and 2 deletions

View File

@ -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'])