Skip to content

Commit

Permalink
[DDING-001] actuator endpoint permitAll() 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
wonjunYou committed Oct 11, 2024
1 parent 4754f4f commit b75cea7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public SecurityFilterChain filterChain(HttpSecurity http, JwtAuthService authSer
.permitAll()
.requestMatchers(API_PREFIX + "/admin/**").hasRole("ADMIN")
.requestMatchers(API_PREFIX + "/club/**").hasRole("CLUB")
.requestMatchers(actuatorPath + "/**").hasRole("ADMIN")
.requestMatchers(actuatorPath + "/**").permitAll()
.requestMatchers(GET,
API_PREFIX + "/clubs/**",
API_PREFIX + "/notices/**",
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ server:

management:
endpoints:
enabled-by-default: false
web:
exposure:
include: info, health, prometheus
include: info, health
base-path: ${ACTUATOR_BASE_PATH}
jmx:
exposure:
Expand Down

0 comments on commit b75cea7

Please sign in to comment.