diff --git a/utils/allowlist.py b/utils/allowlist.py index df7e042..169c6ba 100644 --- a/utils/allowlist.py +++ b/utils/allowlist.py @@ -32,7 +32,7 @@ def allowlistexechistories(url, outputjson: bool): checkpoint = item['checkpoint'] print(f"Date Greater than 30 Days, Stepping to new Checkpoint. {item['checkpoint']}") else: - if (datetime.date.today() - datetime.timedelta(days=1) > datetime.datetime.strptime(item['datetime'].replace(' +0000 UTC', ''), '%Y-%m-%dT%H:%M:%SZ').date()): + if (datetime.date.today() - datetime.timedelta(days=10) > datetime.datetime.strptime(item['datetime'].replace(' +0000 UTC', ''), '%Y-%m-%dT%H:%M:%SZ').date()): pass else: #json_output['response']['exechistories'].append(json_response_data['response']['exechistories'][1])