Update and clarify Security Model page

Aberta
#2,201 1 comentário 1 reação 1 responsável Ver no GitHub

Mantenedores costumam responder em até 3 dias

@jan--f já está trabalhando nisso.

Desde 24/10/2024.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

https://prometheus.io/docs/operating/security/#security-model is somewhat out of date WRT TLS and basic auth support.

I also think that the assumptions about how to handle /metrics endpoints should be clarified. It is by design that metrics are exposed, and that needs to pay attention about who has access to those endpoints and what information and DoS potential is exposed. Issues like https://github.com/prometheus/prometheus/issues/11290 create the impression that this exposure is surprising or a security flaw. See also https://kccnceu2022.sched.com/event/ytmB/how-attackers-use-exposed-prometheus-server-to-exploit-kubernetes-clusters-david-de-torres-huerta-miguel-hernandez-sysdig , which is less naive than the report above but also creates the impression that the design is flawed and that a "secure by default" setup is the expectation.

The Security Model page should not only make it very clear, even for a naive reader, that the /metrics endpoint of monitored targets and the query endpoints for the Prometheus server must not be accessible to the public internet in general, but it should also explain why this setup is a deliberate decision and a "secure by default" setup wouldn't really work.

Linguagem predominante
TypeScript
Estrelas
727
Forks
1.2k
Merge médio
3d 11h
PRs com merge (30d)
21

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de prometheus/docs

Todas as issues de prometheus/docs

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.