Skip to content

Commit

Permalink
fix: permit unauthenticated requests to actuator endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
chillleader committed Mar 7, 2023
1 parent f77b756 commit b0d0982
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.authorizeRequests()
.antMatchers(HttpMethod.POST, "/inbound/**")
.permitAll()
.antMatchers("/actuator/health/**")
.permitAll()
.antMatchers("/inbound")
.hasAuthority("SCOPE_inbound:read")
.anyRequest()
Expand Down

0 comments on commit b0d0982

Please sign in to comment.