Merge pull request 'fix(observability): у Grafana остаётся один вход — внешний basic_auth снят с витрины (#3078)' (#3113) from fix/3078-grafana-single-auth into main
All checks were successful
Deploy Infra Host / sync-infra-host (push) Successful in 6s
Deploy / changes (push) Successful in 8s
Deploy Metrics / server (push) Successful in 12s
Deploy / deploy-caddy (push) Has been skipped
Deploy Metrics / agent-infra (push) Successful in 26s
Deploy Metrics / agent-apps (push) Successful in 27s
Deploy / build-worker (push) Successful in 38s
Deploy / build-frontend (push) Successful in 40s
Deploy / build-backend (push) Successful in 43s
Deploy / deploy (push) Successful in 1m4s
Deploy / deploy-status (push) Successful in 1s
Deploy / perimeter-smoke (push) Successful in 10s
All checks were successful
Deploy Infra Host / sync-infra-host (push) Successful in 6s
Deploy / changes (push) Successful in 8s
Deploy Metrics / server (push) Successful in 12s
Deploy / deploy-caddy (push) Has been skipped
Deploy Metrics / agent-infra (push) Successful in 26s
Deploy Metrics / agent-apps (push) Successful in 27s
Deploy / build-worker (push) Successful in 38s
Deploy / build-frontend (push) Successful in 40s
Deploy / build-backend (push) Successful in 43s
Deploy / deploy (push) Successful in 1m4s
Deploy / deploy-status (push) Successful in 1s
Deploy / perimeter-smoke (push) Successful in 10s
This commit is contained in:
commit
6dd2d26c60
1 changed files with 11 additions and 1 deletions
|
|
@ -94,8 +94,18 @@ metrics.gendsgn.ru {
|
|||
reverse_proxy loki:3100
|
||||
}
|
||||
|
||||
# Вход ОДИН — собственный вход Grafana (#3078). Внешний basic_auth снят по
|
||||
# решению владельца: два запроса пароля подряд мешали работе, а Grafana имеет
|
||||
# собственную аутентификацию с ролями и `GF_USERS_ALLOW_SIGN_UP=false`.
|
||||
#
|
||||
# Что при этом теряется, чтобы решение было осознанным: basic_auth отсекал
|
||||
# сканеры до Grafana и прикрывал бы её собственную будущую уязвимость. Теперь
|
||||
# страница входа Grafana видна из интернета напрямую.
|
||||
#
|
||||
# Приём метрик НАРОЧНО остаётся под basic_auth (см. handle_path выше): туда
|
||||
# ходит агент по паролю, который лежит в открытом виде в окружении
|
||||
# продуктового хоста, и отдельная учётка там ограничивает ущерб записью.
|
||||
handle {
|
||||
import ../metrics-ui.caddy.snippet
|
||||
reverse_proxy grafana:3000
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue