Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[feature request] Pre-fill the UI "silence Creator" field from an HTTP header received ? (alertmanager + oauth2-proxy) #4365

Unanswered
copolycube asked this question in Q&A
[feature request] Pre-fill the UI "silence Creator" field from an HTTP header received ? (alertmanager + oauth2-proxy) #4365
Apr 23, 2025 * 1 comments * 1 reply
Return to top
Discussion options

copolycube
Apr 23, 2025

Hello,
In order to secure the access to alertmanager I used an identity provider with the oauth2-proxy, which transmits some HTTP headers to the resulting application, in this case, alertmanager.
I wanted to pre-fill (even better: force the value if present) the silence creator field from the UI to a certain HTTP header received, let's say X-Auth-Request-Email for example.

I didn't found any example doing this (either pre-fill or force, both would be acceptable), any idea on how to achieve this ?

thanks !

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

TheMeier
Jan 14, 2026
Collaborator

I don't think this is possible at the moment. You can pass matchers, and comments as url parameters https://github.com/prometheus/alertmanager/blob/main/ui/app/src/Utils/Filter.elm#L387

You must be logged in to vote
1 reply
Comment options

copolycube Jan 30, 2026
Author

Ok, thanks for the answer. I'm re-titling this as a feature request then...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants