Skip to content

Commit

Permalink
🔒 security allow actuator probes
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhir committed Jul 29, 2024
1 parent ffbd0cf commit 6957c56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ public SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http)
.pathMatchers(LOGOUT_SUCCESS_URL).permitAll()
.pathMatchers("/api/*/info",
"/actuator/health",
"/actuator/health/liveness",
"/actuator/health/readiness",
"/actuator/info",
"/actuator/metrics")
.permitAll()
Expand Down
2 changes: 1 addition & 1 deletion refarch-gateway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ management:
enabled-by-default: false
web:
exposure:
include: health, info, prometheus, livenessstate, readinessstate
include: health, info, prometheus, livenessState, readinessState
path-mapping:
prometheus: metrics
endpoint:
Expand Down

0 comments on commit 6957c56

Please sign in to comment.