Qualys activation keys: short timeout (5s)
This commit is contained in:
parent
347ea53c27
commit
07775a385f
@ -479,7 +479,7 @@ def get_activation_keys(db):
|
||||
f"{qualys_url}/qps/rest/1.0/search/ca/agentactkey",
|
||||
json={"ServiceRequest": {"preferences": {"limitResults": 20}}},
|
||||
auth=(qualys_user, qualys_pass),
|
||||
verify=False, timeout=30, proxies=proxies,
|
||||
verify=False, timeout=5, proxies=proxies,
|
||||
headers={"X-Requested-With": "Python", "Content-Type": "application/json"})
|
||||
except Exception:
|
||||
return []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user