-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Integration - Webhooks
-
1
It's possible for users to create and send webhooks to the same endpoint as connect apps.
In such a case, the connect app cannot discern the user created webhooks.
User created webhooks doesn't contain JWTs but that's not a good header to use for monitoring purposes.
If Connect webhooks starts coming without JWT due to a problem on the Bitbucket side, it'll not be possible to identify these erroneous webhooks apart from user created webhooks.
Please add an additional HTTP header in the user-created webhooks so that in such a case connect apps can safely drop/ignore user created webhooks without parsing the webhook content (due to security consideration of parsing unauthenticated webhooks).