Skip to content

Commit

Permalink
[DDING-001] security 허용을 위한 기본 path 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
wonjunYou committed Oct 10, 2024
1 parent b6898e5 commit cf7ecdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nodeexporter/node-exporter-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ services:
image: quay.io/prometheus/node-exporter:latest
container_name: node-exporter
restart: always
network_mode: "host"
pid: "host"
ports:
- "9100:9100"
volumes:
- "/:/host:ro,rslave"
command:
Expand Down
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 + "/**").hasRole("ACTUATOR")
.requestMatchers(GET,
API_PREFIX + "/clubs/**",
API_PREFIX + "/notices/**",
Expand Down

0 comments on commit cf7ecdc

Please sign in to comment.