From d7794261184a4cc247900d282be5c9c0176de601 Mon Sep 17 00:00:00 2001 From: Admin MPCZ Date: Tue, 14 Apr 2026 15:21:04 +0200 Subject: [PATCH] Bump Qualys page size back to 1000 --- app/services/qualys_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/services/qualys_service.py b/app/services/qualys_service.py index 44a51c0..2fab060 100644 --- a/app/services/qualys_service.py +++ b/app/services/qualys_service.py @@ -82,7 +82,7 @@ def get_all_tags_api(db): try: r = requests.post( f"{qualys_url}/qps/rest/2.0/search/am/tag", - json={"ServiceRequest": {"preferences": {"limitResults": 1000}}}, + json={"ServiceRequest": {"preferences": {"limitResults": 10000}}}, auth=(qualys_user, qualys_pass), verify=False, timeout=60, proxies=proxies, headers={"Content-Type": "application/json"} @@ -574,7 +574,7 @@ def _refresh_all_agents_impl(db): if last_id: criteria.append({"field": "id", "operator": "GREATER", "value": str(last_id)}) payload = {"ServiceRequest": { - "preferences": {"limitResults": 100}, + "preferences": {"limitResults": 1000}, "filters": {"Criteria": criteria} }} try: