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

Introduce a flag to disable the default home page #1465

Closed
JDA88 opened this issue May 6, 2024 · 3 comments · Fixed by #1471
Closed

Introduce a flag to disable the default home page #1465

JDA88 opened this issue May 6, 2024 · 3 comments · Fixed by #1471
Milestone

Comments

@JDA88
Copy link
Contributor

JDA88 commented May 6, 2024

Multiple security audits got triggered on our company because they found the windows exporter service responded with an html page at the root and exposed the endpoint from there (/metrics, /health, /version)

Even though I’m not a big fan of security by obfuscation maybe introducing a flag to disable the home page (/) could make sense and make the exporter less visible in enterprise environment.

@jkroepke jkroepke added this to the v0.26.0 milestone May 6, 2024
@JDA88
Copy link
Contributor Author

JDA88 commented May 7, 2024

Is this similar to the fix #1448 ?

@maomaoaichirou
Copy link

@jkroepke hi jkroepke How do I configure it to disable secondary path debug/pprofh/ ?

@jkroepke
Copy link
Member

#1448

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 a pull request may close this issue.

3 participants