Public Access
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:
1 parent
da7c3ed069
commit
f3b6d67b5b
3 files changed
+38
-9
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user