diff --git a/Solutions/CiscoDuoSecurity/Data Connectors/AzureFunctionCiscoDuo/main.py b/Solutions/CiscoDuoSecurity/Data Connectors/AzureFunctionCiscoDuo/main.py index c797831d9db..7bb24b9217c 100644 --- a/Solutions/CiscoDuoSecurity/Data Connectors/AzureFunctionCiscoDuo/main.py +++ b/Solutions/CiscoDuoSecurity/Data Connectors/AzureFunctionCiscoDuo/main.py @@ -121,7 +121,7 @@ def process_auth_logs(admin_api: duo_client.Admin, state_manager: StateManager, maxtime = int(time.time() - 120) * 1000 diff = maxtime - mintime if(diff > 3600000): - maxtime = (int(mintime) + 3600) * 1000 + maxtime = (int(mintime/1000) + 3600) * 1000 for event in get_auth_logs(admin_api, mintime, maxtime): sentinel.send(event) diff --git a/Solutions/CiscoDuoSecurity/Data Connectors/CiscoDuoSecurity_func.zip b/Solutions/CiscoDuoSecurity/Data Connectors/CiscoDuoSecurity_func.zip index 6e2d9a7cd2f..96971cb5827 100644 Binary files a/Solutions/CiscoDuoSecurity/Data Connectors/CiscoDuoSecurity_func.zip and b/Solutions/CiscoDuoSecurity/Data Connectors/CiscoDuoSecurity_func.zip differ