prometheus / prometheus/exporter-toolkit

feature: Support for Authorization

Open
#121 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
311
Forks
109
Avg merge
3d 59m
Merged PRs (30d)
6

Description

Currently exporter-toolkit only provides support for authentication, it would be great to have support for authorization logic as well.

I can think of two authorization modes that could be useful for different users:

  • ABAC via client cert properties (e.g. common name matches a certain regex)
  • OAuth2.0 request to a backend like keycloak (e.g. via https://github.com/golang/oauth2)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing exporter-toolkit's existing authentication support and determine where authorization decisions would fit. Compare the proposed client-certificate ABAC and OAuth2.0/Keycloak approaches, then define the supported configuration and behavior before implementation. Done means a decided authorization design with coverage for the selected mode or modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authorization, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.