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

Restrict connectionString to app service only #3191

Merged
merged 2 commits into from Jul 11, 2023

Conversation

heyams
Copy link
Contributor

@heyams heyams commented Jul 11, 2023

Fix #3187

if (configuration.connectionString != null) {
// restrict connection string in APPLICATIONINSIGHTS_CONFIGURATION_CONTENT for App Service only
if (configuration.connectionString != null
&& DiagnosticsHelper.useAppSvcRpIntegrationLogging()) {
Copy link
Member

Choose a reason for hiding this comment

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

I don't love that this method name looks like it's related to logging, i'll send a follow-up PR to rename

@trask trask merged commit 2b8a219 into main Jul 11, 2023
84 checks passed
@trask trask deleted the heya/fix-connectionString-in-configfile branch July 11, 2023 22:30
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.

In Java agent 3.4.14, facing issues related to env variables setting of app insights content
2 participants