Skip to content

Commit eb538d8

Browse files
committed
docs(webhook): specify secret must be non-empty
1 parent faab784 commit eb538d8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/operator-manual/git-webhook.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ Only `application/json` content type is supported.
2323

2424
## Configure the webhook secret in credentials
2525

26-
Add the webhook secret to the repository or shared credentials used to authenticate to the repository. The webhook secret is used to validate the authenticity of webhook payloads from your Git provider.
26+
Add the webhook secret to the repository or shared credentials used to authenticate to the repository. The webhook secret is used to validate the authenticity of webhook payloads from your Git provider and prevents attackers from forging webhook requests to Burrito.
27+
28+
!!! warning "The webhook secret must be non-empty"
29+
Burrito requires a **non-empty** `webhookSecret` to verify payloads. Without it, webhook events are rejected. Make sure it matches the secret set on your Git provider's webhook.
2730

2831
### Using repository-specific credentials
2932

0 commit comments

Comments
 (0)