Skip to content

Commit

Permalink
Merge pull request #35535 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Dec 3, 2024
2 parents af27c25 + ca3f79f commit 8c9ce9a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ You should only subscribe to the webhook events that you need. This will reduce

## Use a webhook secret

You should set a webhook secret for your webhook and verify that the signature of each webhook delivery matches the secret. This helps to ensure that the webhook delivery is from {% data variables.product.company_short %}. For more information, see "[AUTOTITLE](/webhooks/using-webhooks/securing-your-webhooks)."
> [!WARNING]
> To avoid accidental exposure of sensitive information, do **not** include sensitive information in your payload URL.
> This includes your own API keys and other authentication credentials. Instead, to validate that webhook deliveries were sent by {% data variables.product.github %} and have not been tampered with, use a webhook secret. For more information, see "[AUTOTITLE](/webhooks/using-webhooks/validating-webhook-deliveries)."
The webhook secret should be a random string of text with high entropy. You should securely store your webhook secret in a way that your server can access.

Expand Down

0 comments on commit 8c9ce9a

Please sign in to comment.