Skip to content

Commit

Permalink
[Fix] odata api proxy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyY19 committed Sep 12, 2024
1 parent 42a2a2c commit 3f46ca0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CheckmarxPythonSDK/CxODataApiSDK/HttpRequests.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ def get_data_from_config():
"client_id": "resource_owner_sast_client",
"client_secret": "014DF517-39D1-4453-B7B3-9930C563627C",
}
return server_url, token_url, timeout, verify_ssl_cert, cert, token_req_data
proxies = {
"http": config.get("proxy"),
"https": config.get("proxy"),
}
return server_url, token_url, timeout, verify_ssl_cert, cert, token_req_data, proxies


get, _, _, _, _, _ = build_request_funcs(get_data_from_config)
Expand Down

0 comments on commit 3f46ca0

Please sign in to comment.