Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(metadata) Addressing vulnerabilities #10296

Merged
merged 15 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion metadata-ingestion/docs/sources/presto/presto_recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ source:

# Credentials
username: foo
password: datahub
password: password

sink:
# sink configs
2 changes: 1 addition & 1 deletion metadata-ingestion/docs/sources/trino/trino_recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def requests_get(self, url_http: str, url_https: str, content_type: str) -> Any:
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))
Expand Down
4 changes: 2 additions & 2 deletions metadata-ingestion/src/datahub/ingestion/source/pulsar.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __init__(self, config: PulsarSourceConfig, ctx: PipelineContext):
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:
Expand Down Expand Up @@ -163,7 +163,7 @@ def get_access_token(self) -> str:
token_response = requests.post(
url=token_endpoint,
data=data,
verify=False,
verify=self.session.verify,
allow_redirects=False,
auth=(
self.config.client_id,
Expand Down
Loading