Skip to content

[Log Agent] fix: permit access to actuator endpoints in security configuration#45

Open
SangkiHan wants to merge 1 commit into
mainfrom
log-agent/fix-record-243
Open

[Log Agent] fix: permit access to actuator endpoints in security configuration#45
SangkiHan wants to merge 1 commit into
mainfrom
log-agent/fix-record-243

Conversation

@SangkiHan

Copy link
Copy Markdown
Member

🤖 Log Agent 자동 분석

에러 원인: Spring Boot Actuator의 엔드포인트가 보안 설정이나 경로 매핑에서 제외되어 정적 리소스로 오인되어 NoResourceFoundException이 발생함

수정 내용: Security Config에서 actuator 경로를 허용하거나, WebMvc 설정에서 해당 경로가 정적 리소스로 처리되지 않도록 예외 처리가 필요합니다.

⚠️ 수동 적용 필요: src/main/java/com/puppynoteserver/global/config/SecurityConfig.java

Before

.requestMatchers(HttpMethod.GET, "/actuator/**"1).permitAll()

After

.requestMatchers(HttpMethod.GET, "/actuator/**").permitAll()

Record ID: #243 | 트리거: NoResourceFoundException: No static resource actuator/trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant