Skip to content

Fix authorization credentials field to use password input type - #646

Open
dengjulie wants to merge 1 commit into
grafana:mainfrom
dengjulie:dengjulie/oncall-authorization-credentials-password-field
Open

Fix authorization credentials field to use password input type#646
dengjulie wants to merge 1 commit into
grafana:mainfrom
dengjulie:dengjulie/oncall-authorization-credentials-password-field

Conversation

@dengjulie

Copy link
Copy Markdown

Summary

  • The "Authorization Header - Credentials" field in the OnCall and webhook receiver schemas was rendered as a plain text input instead of a password input, exposing the secret value on screen.
  • Change InputType from Text to Password in both schemas to match the field's Secure: true designation, consistent with how other secure fields are rendered.

Fixes grafana/grafana#129717

Test plan

  • go test ./receivers/oncall/... passes
  • go test ./receivers/webhook/... passes

@dengjulie
dengjulie requested a review from a team as a code owner July 30, 2026 18:09
@github-actions

github-actions Bot commented Jul 30, 2026

Copy link
Copy Markdown

Signed commits report

All 1 commit between main and dengjulie/oncall-authorization-credentials-password-field have verified signatures. ✅

@cla-assistant

cla-assistant Bot commented Jul 30, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@dengjulie
dengjulie force-pushed the dengjulie/oncall-authorization-credentials-password-field branch from a5e2c88 to e033b6e Compare July 30, 2026 18:28
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.

Alerting: Webhook contact point HTTP credentials field value should be hidden

1 participant