Skip to content

Commit 68e1852

Browse files
authored
Update demo application.yml
1 parent 3b75b24 commit 68e1852

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

demo/webapp-rest/src/main/resources/application.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,21 @@ sse:
2020
remember-login-provider-redirect:
2121
enabled: false
2222

23+
# READ https://docs.spring.io/spring-boot/reference/actuator/endpoints.html BEFORE CHANGING ANYTHING HERE!
24+
# Pledge of allegiance you sign when commiting this: I know that I'm responsible for security problems when I did not
25+
# read the docs and I will be sentenced to debug Voyager 1 memory problems (YcUycQoz0zg) or similar complex things
2326
management:
2427
endpoints:
2528
web:
2629
exposure:
2730
include: "*"
28-
# Env is potentially security sensitive so better hide it
29-
exclude: "env"
3031
endpoint:
32+
env:
33+
access: none
3134
health:
32-
show-details: "when-authorized"
33-
health:
34-
# Kubernetes probes
35-
probes:
36-
enabled: true
35+
show-details: when-authorized
36+
heapdump:
37+
access: unrestricted
3738

3839
server:
3940
# https://stackoverflow.com/questions/69403837/how-to-use-tomcat-remoteipfilter-in-spring-boot

0 commit comments

Comments
 (0)