mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-24 22:45:56 +03:00
[GH-ISSUE #1025] Display cloaked URL in user interface #713
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#713
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @daviewales on GitHub (Jul 10, 2024).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1025
When writing documentation, it would be nice to be able to link to specific Healthchecks by their cloaked URL. However, the only way I can see to get a copy of the cloaked URL is to trigger a failed ping and extract the cloaked URL from the notification.
Would it be possible to make the cloaked URL visible in the user interface?
The problem is that that set of people who can read the documentation is greater than the set of people who have access to Healthchecks, so I don't want people gaining the ability to ping Healthchecks who shouldn't have this access.
@cuu508 commented on GitHub (Dec 11, 2024):
I've looked into this a few times. The technical side is trivial, but the problems I'm running into are:
@daviewales commented on GitHub (Dec 11, 2024):
One idea might be to always use cloaked URLs when navigating the UI. So, when I click on a HealthCheck in the UI, instead of going to a page with the URL
healthchecks.io/checks/uuid, I would instead navigate to a page with the URLhealthchecks.io/checks/hash.The idea is that the UI page and the ping endpoint have different addresses, so I can share a link to the UI page in my wiki, but only people who have access to HealthChecks can visit the page to see the UUID and initiate pings, etc.
You could continue to resolve
healthchecks.io/checks/uuidaddresses for backwards compatibility.Cons:
Pros:
How to Pingsection of the UI page.@likuilin commented on GitHub (Jun 21, 2025):
Adding it as an extra option in the Status Badges page, so that the badge can optionally link to the cloaked URL, might be a user-friendly way of doing it. The badges page already explains that the badge URL is hard-to-guess, and the cloaked URL is for a similar broad purpose.
This way, the additional fact that the cloaked URL can be used by itself to refer to a check safely (more specifically, there being no public way to check the status / see the badge from just the cloaked URL) does not need to be explicitly said.