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
Document the handling of confirmation links #436
Comments
Hi! Why it's important to show a badge if the body contains the word "confirm"? What's the intention? Thank you :) |
@anxodio the specific use case I had in mind was AWS SNS and webhook subscriptions. In AWS SNS you can create a Topic and create Subscriptions for that topic. Among the supported subscription types is HTTP and HTTTPS: when a message is posted to the topic, AWS SNS will send an HTTP(S) request to the nominated URL. When you first create a HTTP(S) subscription, AWS SNS will first send a special request to the URL which contains a confirmation link. Once the confirmation link is clicked, the subscription is active. The message payload looks like this: {
"Type" : "SubscriptionConfirmation",
"MessageId" : "a75c4bbe-2925-4108-82b4-a9a7c4c72985",
"Token" : "xxxx",
"TopicArn" : "arn:aws:sns:eu-central-1:xxxx:Demo-Topic",
"Message" : "You have chosen to subscribe to the topic arn:aws:sns:eu-central-1:xxxx:Demo-Topic.\nTo confirm the subscription, visit the SubscribeURL included in this message.",
"SubscribeURL" : "https://sns.eu-central-1.amazonaws.com/?Action=ConfirmSubscription&TopicArn=arn:aws:sns:eu-central-1:xxxx:Demo-Topic&Token=xxxx",
"Timestamp" : "2024-05-22T11:50:05.094Z",
"SignatureVersion" : "1",
"Signature" : "xxxx",
"SigningCertURL" : "https://sns.eu-central-1.amazonaws.com/SimpleNotificationService-60eadc530605d63b8e62a523676ef735.pem"
} The "confirmation link" badge is meant to draw user's attention to the fact that the ping body contains the word "confirm" and so perhaps there's a confirmation link in there, that needs to be acted upon. |
Thank you for the explanation @cuu508 :) We have some ping bodies that contain the word confirm but it's not a confirmation link, but knowing that it is not important, we can simply ignore the badge |
When a ping body contains the word "confirm", Healthchecks assumes it might contain a confirmation link. To draw user's attention to it, it shows a badge in the dashboard:
The badge is not explained anywhere on the site or in the documentation.
The text was updated successfully, but these errors were encountered: