You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Description:**
Adding a feature - Allow option of adding a required header for incoming
webhook requests. If header doesn't match, returns a 401.
**Link to tracking Issue:**
[<24270>](#24270)
Uh oh!
There was an error while loading. Please reload this page.
Component(s)
receiver/webhookevent
Is your feature request related to a problem? Please describe.
Use Case:
Many webhooks send along an HTTP header to pass a secret/token. For example GitLab uses the token
X-GitLab-Token
.Describe the solution you'd like
Allow an optional config setting in the webhook receiver to add a header that must be matched before accepting the incoming connection.
Essentially a config like:
Any requests to the webhook receiver that do not have that required header would be returned a 401
Describe alternatives you've considered
Possible some integrations would want to send a token in the query param but headers is most common.
Additional context
No response
The text was updated successfully, but these errors were encountered: