Skip to content

Commit

Permalink
PMM-12913 temporarily allow /v1/version
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Mar 15, 2024
1 parent 3d157e6 commit 9aabc16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion managed/services/grafana/auth_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,13 @@ var rules = map[string]role{
"/v1/user": viewer,

// must be available without authentication for health checking
"/v1/readyz": none, // TODO: remove once we have we merge it to v3
"/v1/readyz": none, // TODO: remove once we merge it to v3
"/v1/server/readyz": none,
"/v1/leaderHealthCheck": none,
"/ping": none, // PMM 1.x variant

// must not be available without authentication as it can leak data
"/v1/version": viewer, // TODO: remove once we merge it to v3
"/v1/server/version": viewer,

"/v1/qan/": viewer,
Expand Down

0 comments on commit 9aabc16

Please sign in to comment.