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

Lock down mutating endpoints by default #2173

Closed
brian-brazil opened this Issue Nov 7, 2016 · 2 comments

Comments

Projects
None yet
1 participant
@brian-brazil
Copy link
Member

brian-brazil commented Nov 7, 2016

Currently we have mutating endpoints in the form of the DELETE API, reload and shutdown. In future we're also going to have some form of bulk load function.

I propose that we put all mutating endpoints behind a single flag to control all access to them, and to disable access by default. This will keep us in the state where control of the Prometheus config is sufficient to decide what data ends up in Prometheus. Any more granular lockdown then that is up to the user via reverse proxy.

As changing this default breaks existing endpoints, this has to be a 2.0 change.

@brian-brazil

This comment has been minimized.

Copy link
Member Author

brian-brazil commented Jul 12, 2017

This is done in 2.0, just needs docs.

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.