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

[ODS-6175] Migrate GenerateSecurityGraphs to .NET 8 #933

Merged
merged 3 commits into from
Jan 29, 2024
Merged

Conversation

JBrenesSimpat
Copy link
Contributor

No description provided.

if (options.User == null || options.Password == null)
{
connectionString = string.Format(
"Server={0};Database={1};Trusted_Connection=True",

"Server={0};Database={1};Trusted_Connection=True;Encrypt=False",
Copy link
Contributor

@stephenfuqua stephenfuqua Jan 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://techdocs.ed-fi.org/display/ODSAPIS3V71/Security+Visualization+Tool this page helped me see how this tool is used by the public.

I don't like having a hard-coded connection string, and turning off encryption here is a bad idea. I understand why we do that for localhost development, but if this ever runs on a real server then this is bad.

@vimayya please weigh in on how we should handle this connection string. Should we perhaps add a new command line parameter for encryption? Or change the command line parameter to require that the user provide the connection string?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would go for full connection string passed as parameter. It would be a breaking change but we could go that route considering this utility is not likely to have additional integrations.

@stephenfuqua stephenfuqua merged commit 8dacaa6 into main-6x Jan 29, 2024
1 check passed
@stephenfuqua stephenfuqua deleted the ODS-6175 branch January 29, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants