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

feat: 🎸 return 404 for /healthcheck and /metrics #541

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

severo
Copy link
Collaborator

@severo severo commented Sep 6, 2022

(and under /admin too). Fixes #540.

@severo severo merged commit e70c647 into main Sep 6, 2022
@severo severo deleted the 404-for-metrics-and-healthcheck branch September 6, 2022 13:18
@severo severo mentioned this pull request Sep 6, 2022
severo added a commit that referenced this pull request Mar 2, 2023
It's not really a security issue to publish them, I think (it was the
reason why we protected them along with /metrics in
#541). The
/healthcheck endpoint is needed for ArgoCD
severo added a commit that referenced this pull request Mar 2, 2023
* refactor: 💡 simplify the code

* fix: 🐛 publish /healthcheck and /admin/healthcheck endpoints

It's not really a security issue to publish them, I think (it was the
reason why we protected them along with /metrics in
#541). The
/healthcheck endpoint is needed for ArgoCD

* style: 💄 remove unused imports

* test: 💍 fix e2e tests
mattstern31 added a commit to mattstern31/datasets-server-storage-admin that referenced this pull request Nov 11, 2023
* refactor: 💡 simplify the code

* fix: 🐛 publish /healthcheck and /admin/healthcheck endpoints

It's not really a security issue to publish them, I think (it was the
reason why we protected them along with /metrics in
huggingface/dataset-viewer#541). The
/healthcheck endpoint is needed for ArgoCD

* style: 💄 remove unused imports

* test: 💍 fix e2e tests
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.

Return 404 for /metrics and /healthcheck from the Internet
1 participant