Bump Qualys page size back to 1000
This commit is contained in:
parent
71f83d5d4f
commit
d779426118
@ -82,7 +82,7 @@ def get_all_tags_api(db):
|
|||||||
try:
|
try:
|
||||||
r = requests.post(
|
r = requests.post(
|
||||||
f"{qualys_url}/qps/rest/2.0/search/am/tag",
|
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),
|
auth=(qualys_user, qualys_pass),
|
||||||
verify=False, timeout=60, proxies=proxies,
|
verify=False, timeout=60, proxies=proxies,
|
||||||
headers={"Content-Type": "application/json"}
|
headers={"Content-Type": "application/json"}
|
||||||
@ -574,7 +574,7 @@ def _refresh_all_agents_impl(db):
|
|||||||
if last_id:
|
if last_id:
|
||||||
criteria.append({"field": "id", "operator": "GREATER", "value": str(last_id)})
|
criteria.append({"field": "id", "operator": "GREATER", "value": str(last_id)})
|
||||||
payload = {"ServiceRequest": {
|
payload = {"ServiceRequest": {
|
||||||
"preferences": {"limitResults": 100},
|
"preferences": {"limitResults": 1000},
|
||||||
"filters": {"Criteria": criteria}
|
"filters": {"Criteria": criteria}
|
||||||
}}
|
}}
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user