Commit d92bbdc
Permit unauthenticated access to health/info/prometheus actuator endpoints
Spring Boot 4 applies the application's SecurityFilterChain to the
management port, so the existing anyRequest().authenticated() rule
caused /actuator/health to return 401 and broke prod healthchecks.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d28d5db commit d92bbdc
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
0 commit comments