Skip to content

feat(integration): show masked URL in registrations config#2794

Open
Piskoo wants to merge 3 commits intochainloop-dev:mainfrom
Piskoo:pfm-4575
Open

feat(integration): show masked URL in registrations config#2794
Piskoo wants to merge 3 commits intochainloop-dev:mainfrom
Piskoo:pfm-4575

Conversation

@Piskoo
Copy link
Collaborator

@Piskoo Piskoo commented Feb 26, 2026

Summary

Webhook-based integrations (Slack, generic webhook) store the webhook URL entirely in the secrets manager, making it invisible in the UI. This caused an issue where users could not identify registrations.

This change stores a masked version of the webhook URL in the registration configuration.

Changes

Added MaskURL to the plugin SDK. Updated Slack webhook and generic webhook plugins to store the masked URL in their registration state.

Masking format

The URL host is preserved in full (identifies the service), and the path is replaced with **** plus the last 4 characters. This follows the industry-standard "last 4 visible" pattern used by Stripe (sk_test_****cDqC), OpenAI (sk-proj-****Tmr3), GitHub (ghp_****a1b2).

Signed-off-by: Sylwester Piskozub <sylwesterpiskozub@gmail.com>
Signed-off-by: Sylwester Piskozub <sylwesterpiskozub@gmail.com>
@Piskoo Piskoo marked this pull request as ready for review February 26, 2026 23:11
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Signed-off-by: Sylwester Piskozub <sylwesterpiskozub@gmail.com>
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.

1 participant