Skip to content

Commit 996e5b0

Browse files
authored
chore(metadata) Addressing vulnerabilities (#10296)
1 parent 62c7ac7 commit 996e5b0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

metadata-ingestion/docs/sources/presto/presto_recipe.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source:
77

88
# Credentials
99
username: foo
10-
password: datahub
10+
password: password
1111

1212
sink:
1313
# sink configs

metadata-ingestion/docs/sources/trino/trino_recipe.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source:
77

88
# Credentials
99
username: foo
10-
password: datahub
10+
password: password
1111

1212
# If you need to connect to Trino over http and not https, uncomment this section.
1313
# options:

metadata-ingestion/src/datahub/ingestion/source/powerbi_report_server/report_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def requests_get(self, url_http: str, url_https: str, content_type: str) -> Any:
157157
response = requests.get(
158158
url=url_https,
159159
auth=self.get_auth_credentials,
160-
verify=False,
160+
verify=True,
161161
)
162162
except ConnectionError:
163163
LOGGER.info("Request to Report URL={}".format(url_http))

metadata-ingestion/src/datahub/ingestion/source/pulsar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def __init__(self, config: PulsarSourceConfig, ctx: PipelineContext):
116116
f"{self.config.issuer_url}/.well-known/openid-configuration"
117117
)
118118
oid_config_response = requests.get(
119-
oid_config_url, verify=False, allow_redirects=False
119+
oid_config_url, verify=self.session.verify, allow_redirects=False
120120
)
121121

122122
if oid_config_response:
@@ -163,7 +163,7 @@ def get_access_token(self) -> str:
163163
token_response = requests.post(
164164
url=token_endpoint,
165165
data=data,
166-
verify=False,
166+
verify=self.session.verify,
167167
allow_redirects=False,
168168
auth=(
169169
self.config.client_id,

0 commit comments

Comments
 (0)