mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-18 14:16:48 +00:00
chore(metadata) Addressing vulnerabilities (#10296)
This commit is contained in:
parent
62c7ac706b
commit
996e5b0130
@ -7,7 +7,7 @@ source:
|
|||||||
|
|
||||||
# Credentials
|
# Credentials
|
||||||
username: foo
|
username: foo
|
||||||
password: datahub
|
password: password
|
||||||
|
|
||||||
sink:
|
sink:
|
||||||
# sink configs
|
# sink configs
|
@ -7,7 +7,7 @@ source:
|
|||||||
|
|
||||||
# Credentials
|
# Credentials
|
||||||
username: foo
|
username: foo
|
||||||
password: datahub
|
password: password
|
||||||
|
|
||||||
# If you need to connect to Trino over http and not https, uncomment this section.
|
# If you need to connect to Trino over http and not https, uncomment this section.
|
||||||
# options:
|
# options:
|
||||||
|
@ -157,7 +157,7 @@ class PowerBiReportServerAPI:
|
|||||||
response = requests.get(
|
response = requests.get(
|
||||||
url=url_https,
|
url=url_https,
|
||||||
auth=self.get_auth_credentials,
|
auth=self.get_auth_credentials,
|
||||||
verify=False,
|
verify=True,
|
||||||
)
|
)
|
||||||
except ConnectionError:
|
except ConnectionError:
|
||||||
LOGGER.info("Request to Report URL={}".format(url_http))
|
LOGGER.info("Request to Report URL={}".format(url_http))
|
||||||
|
@ -116,7 +116,7 @@ class PulsarSource(StatefulIngestionSourceBase):
|
|||||||
f"{self.config.issuer_url}/.well-known/openid-configuration"
|
f"{self.config.issuer_url}/.well-known/openid-configuration"
|
||||||
)
|
)
|
||||||
oid_config_response = requests.get(
|
oid_config_response = requests.get(
|
||||||
oid_config_url, verify=False, allow_redirects=False
|
oid_config_url, verify=self.session.verify, allow_redirects=False
|
||||||
)
|
)
|
||||||
|
|
||||||
if oid_config_response:
|
if oid_config_response:
|
||||||
@ -163,7 +163,7 @@ class PulsarSource(StatefulIngestionSourceBase):
|
|||||||
token_response = requests.post(
|
token_response = requests.post(
|
||||||
url=token_endpoint,
|
url=token_endpoint,
|
||||||
data=data,
|
data=data,
|
||||||
verify=False,
|
verify=self.session.verify,
|
||||||
allow_redirects=False,
|
allow_redirects=False,
|
||||||
auth=(
|
auth=(
|
||||||
self.config.client_id,
|
self.config.client_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user