fix(security): hide health details and close Prometheus to the public

/actuator/health showed database and disk details to anyone, and /actuator/prometheus was open. Only health stays public, as plain UP/DOWN for the Docker health check.
This commit is contained in:
lobo committed 2026-09-24 10:26:53 +02:00
1 parent da7c3ed069
commit f3b6d67b5b
3 files changed
+38 -9

No files matched your search

+2 -7
View File
@@ -31,15 +31,10 @@ management:
endpoints:
web:
exposure:
# Expose health and metrics to the web
include: health, prometheus, metrics
include: health
endpoint:
health:
show-details: always
prometheus:
metrics:
export:
enabled: true
show-details: never
# Security stuff
security: