chore(metadata) Addressing vulnerabilities (#10296)

This commit is contained in:
Raj Tekal 2024-04-19 15:53:50 -04:00 committed by GitHub
parent 62c7ac706b
commit 996e5b0130
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ source:
# Credentials
username: foo
password: datahub
password: password
sink:
# sink configs

View File

@ -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:

View File

@ -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))

View File

@ -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,