diff --git a/cloud/jobs.py b/cloud/jobs.py index d8bc1ad..f42ebf7 100644 --- a/cloud/jobs.py +++ b/cloud/jobs.py @@ -35,7 +35,7 @@ def job_client_ip_audit(shodan_auditor, db): }} ] - recent_clients = list(db.device_ip_collection.aggregate(pipeline)) + recent_clients = list(db.device_ips.aggregate(pipeline)) for entry in recent_clients: client_ip = entry["_id"]