Feat/custom webhook headers support#362
Open
Shadow-MMN wants to merge 4 commits intoEDOHWARES:mainfrom
Open
Conversation
added 3 commits
April 27, 2026 13:38
This reverts commit 50f3f78.
- Add customHeaders field to trigger model with validation - Implement header builder utility with JSONPath resolution - Support static and dynamic header values - Integrate custom headers into webhook service and worker processor - Add validation middleware using Joi for header configuration - Block unsafe headers and enforce key format rules - Handle missing and invalid JSONPath gracefully - Add comprehensive unit and integration tests - Document usage, JSONPath examples, and security considerations chore: refine header handling for production readiness - Sanitize header values to prevent injection - Improve JSONPath handling for multi-value results - Adjust restricted header policy (allow controlled overrides) - Prepare for centralized validation rules
|
@Shadow-MMN Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Author
|
@EDOHWARES , can we check this now ? |
Author
|
@EDOHWARES can we check this now ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces support for custom HTTP headers in webhook action configurations.
It enables users to define both static and dynamic headers, with dynamic values resolved from event payloads using JSONPath. This improves flexibility when integrating with external services that require custom authentication or metadata.
Type of Change
Linked Issues
Fixes #288
Key Changes
Backend
customHeadersfield to trigger model with validationValidation & Security
Testing
Documentation
/backend/docs/custom-headers.mdDesign Decisions
Notes / Follow-ups
Acceptance Criteria
Closes #288