From 5d4a52c2f0dce4e7f59823bdcab46473649e173c Mon Sep 17 00:00:00 2001 From: brotoskyj Date: Thu, 21 Aug 2025 18:00:24 -0400 Subject: [PATCH] Changed to 10 days --- utils/allowlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])