mirror of
https://github.com/ansible/awx.git
synced 2026-03-18 17:37:30 -02:30
verify all Centrify HTTPS requests
This commit is contained in:
@@ -81,7 +81,8 @@ def get_ID(**kwargs):
|
|||||||
response = requests.post(
|
response = requests.post(
|
||||||
endpoint,
|
endpoint,
|
||||||
json = {'Script': query},
|
json = {'Script': query},
|
||||||
headers = post_headers,
|
headers = post_headers,
|
||||||
|
verify = True,
|
||||||
timeout = (5, 30)
|
timeout = (5, 30)
|
||||||
)
|
)
|
||||||
raise_for_status(response)
|
raise_for_status(response)
|
||||||
@@ -103,6 +104,7 @@ def get_passwd(**kwargs):
|
|||||||
endpoint,
|
endpoint,
|
||||||
json = {'ID': kwargs['acc_id']},
|
json = {'ID': kwargs['acc_id']},
|
||||||
headers = post_headers,
|
headers = post_headers,
|
||||||
|
verify = True,
|
||||||
timeout = (5, 30)
|
timeout = (5, 30)
|
||||||
)
|
)
|
||||||
raise_for_status(response)
|
raise_for_status(response)
|
||||||
|
|||||||
Reference in New Issue
Block a user