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
|
||||
username: foo
|
||||
password: datahub
|
||||
password: password
|
||||
|
||||
sink:
|
||||
# sink configs
|
@ -7,7 +7,7 @@ source:
|
||||
|
||||
# Credentials
|
||||
username: foo
|
||||
password: datahub
|
||||
password: password
|
||||
|
||||
# If you need to connect to Trino over http and not https, uncomment this section.
|
||||
# options:
|
||||
|
@ -157,7 +157,7 @@ class PowerBiReportServerAPI:
|
||||
response = requests.get(
|
||||
url=url_https,
|
||||
auth=self.get_auth_credentials,
|
||||
verify=False,
|
||||
verify=True,
|
||||
)
|
||||
except ConnectionError:
|
||||
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"
|
||||
)
|
||||
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:
|
||||
@ -163,7 +163,7 @@ class PulsarSource(StatefulIngestionSourceBase):
|
||||
token_response = requests.post(
|
||||
url=token_endpoint,
|
||||
data=data,
|
||||
verify=False,
|
||||
verify=self.session.verify,
|
||||
allow_redirects=False,
|
||||
auth=(
|
||||
self.config.client_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user