Skip to content

Commit 9c0cd7d

Browse files
Copilotintel352
andauthored
Add scheme-based webhook signature verification (HMAC-SHA1, secret_from, URL reconstruction) (#192)
* Initial plan * Add scheme-based webhook signature verification with HMAC-SHA1, secret_from, url_reconstruction, include_form_params, and error_status support Co-authored-by: intel352 <77607+intel352@users.noreply.github.com> * Fix security and correctness issues in resolveSecret and reconstructURL Co-authored-by: intel352 <77607+intel352@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: intel352 <77607+intel352@users.noreply.github.com>
1 parent 1a7b39a commit 9c0cd7d

3 files changed

Lines changed: 862 additions & 22 deletions

File tree

cmd/wfctl/type_registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ func KnownStepTypes() map[string]StepTypeInfo {
598598
"step.webhook_verify": {
599599
Type: "step.webhook_verify",
600600
Plugin: "pipelinesteps",
601-
ConfigKeys: []string{"secret", "header", "algorithm"},
601+
ConfigKeys: []string{"provider", "scheme", "secret", "secret_from", "header", "signature_header", "url_reconstruction", "include_form_params", "error_status"},
602602
},
603603
"step.cache_get": {
604604
Type: "step.cache_get",

0 commit comments

Comments
 (0)