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

Add username password back from es to kibana config #10553

Merged
merged 1 commit into from
Feb 5, 2019
Merged

Add username password back from es to kibana config #10553

merged 1 commit into from
Feb 5, 2019

Conversation

kaiyan-sheng
Copy link
Contributor

#10451 seems to be the reason why dashboard failed to load under security: #10513 @andrewkroh Thank you for your help!

@kaiyan-sheng kaiyan-sheng requested a review from a team as a code owner February 5, 2019 01:13
@kaiyan-sheng kaiyan-sheng self-assigned this Feb 5, 2019
@kaiyan-sheng kaiyan-sheng added discuss Issue needs further discussion. Team:Integrations Label for the Integrations team labels Feb 5, 2019
Copy link
Member

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

LGTM

Not for this PR but would probably be good that we have some tests for this.

if !kibanaConfig.HasField("password") && password != "" {
kibanaConfig.SetString("password", -1, password)
}
}
Copy link

Choose a reason for hiding this comment

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

I know this is some old code re-introduced. But in general: We should not use SetX on globally shared configuration objects. Instead of passing through *common.Config, as is done here, we should strive for concrete types and unpack as early as possible.

Copy link
Member

Choose a reason for hiding this comment

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

@urso Would it be ok for you to get this in as is for FF and we open an issue to clean this up?

Copy link
Contributor Author

@kaiyan-sheng kaiyan-sheng Feb 5, 2019

Choose a reason for hiding this comment

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

@urso Thanks for pointing this out. I just created an issue for this #10572

@ruflin ruflin added bug libbeat review v7.0.0-beta1 and removed discuss Issue needs further discussion. labels Feb 5, 2019
Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

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

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants