Skip to content

Adapt webhook proxy to use HMAC - #1403

Merged
jafarre-bi merged 46 commits into
masterfrom
feature/hmac
Aug 28, 2026
Merged

Adapt webhook proxy to use HMAC#1403
jafarre-bi merged 46 commits into
masterfrom
feature/hmac

Conversation

@jafarre-bi

Copy link
Copy Markdown
Contributor

No description provided.

jorge-romero and others added 30 commits July 9, 2026 11:37
…ssing

- Introduced regex patterns for validating repository names and branch names.
- Updated event validation to reject unsafe characters and ensure proper field lengths.
- Refactored template parsing to safely encode user-controlled values, preventing JSON injection.
- Added comprehensive tests for event validation and template rendering.
- Introduced common.sh for shared functions used across migration scripts.
- Created jira-property-client.sh to manage Jira project properties via REST API.
- Developed migrate-bitbucket-webhook-hmac.sh to migrate Bitbucket webhooks, removing trigger_secret and adding HMAC secret.
- Implemented migrate-jira-webhook-properties.sh to update Jira properties for WEBHOOK_PROXY.SECRET and WEBHOOK_PROXY.URL.
- Added migrate-openshift-webhook-secret.sh to migrate OpenShift secrets for webhook-hmac-secret.
- Created migrate-webhooks.sh to orchestrate the migration process for multiple projects, integrating all previous scripts.
# Conflicts:
#	create-projects/Jenkinsfile
#	create-projects/create-cd-jenkins.sh
#	jenkins/webhook-proxy/main.go
#	jenkins/webhook-proxy/main_test.go
@jafarre-bi
jafarre-bi merged commit a28aa8e into master Aug 28, 2026
24 checks passed
@jafarre-bi
jafarre-bi deleted the feature/hmac branch August 28, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants