-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
source-mssql: enforce SSL on Airbyte Cloud #32882
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Before Merging a Connector Pull RequestWow! What a great pull request you have here! 🎉 To merge this PR, ensure the following has been done/considered for each connector added or updated:
If the checklist is complete, but the CI check is failing,
|
88cebf0
to
31c8abc
Compare
31c8abc
to
c4455d2
Compare
mssql strict encrypt was previously marked as safe. I think because it only has encrypted mode. |
if (cloudDeploymentMode()) { | ||
final ConnectorSpecification cloudDeploymentSpec = Jsons.clone(super.spec()); | ||
// Remove "unencrypted" value for "ssl_method". | ||
((ArrayNode) cloudDeploymentSpec.getConnectionSpecification().get("properties").get(SSL_METHOD).get("oneOf")).remove(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do want to leave it then, no?
since check is going to verify that at least one mode of encryption is configured
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, that's a good point.
&& config.get(TUNNEL_METHOD).get(TUNNEL_METHOD).asText().equals(NO_TUNNEL)) { | ||
// If no SSH tunnel. | ||
if (config.has(SSL_METHOD) && config.get(SSL_METHOD).has(SSL_METHOD) && | ||
SSL_METHOD_UNENCRYPTED.equalsIgnoreCase(config.get(SSL_METHOD).get(SSL_METHOD).asText())) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd also consult with @stephane-airbyte whether there are new unencrypted modes he's adding as part of his job of refitting ssl on this connector - a "prefer ssl" mode for example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nah, the ms-sql JDBC protocl is widely different than the postgres or mysql. You can push as is
Thanks for taking a look.
Ahhh, right! That's a relief. |
This is the MS SQL Server companion to #31062.
Fixes #32789.