Skip to content

Conversation

@zinzoddari
Copy link
Collaborator

📌 주요 변경 사항

  • 헬스체크를 위한 Spring Actuator를 추가하였습니다.

📝 코멘트

  • build.gradle.ktsactuator dependency 추가
  • 헬스체크 endpoint의 경우 시큐리티와 JWT Filter에서 처리되지 않도록 제외

@zinzoddari zinzoddari self-assigned this Jun 23, 2025
@zinzoddari zinzoddari added the ⚙️ Setting 프로젝트 셋팅을 합니다. label Jun 23, 2025
@zinzoddari zinzoddari linked an issue Jun 23, 2025 that may be closed by this pull request
@zinzoddari zinzoddari added the 🌏 Deploy 배포와 관련된 것을 작성합니다. label Jun 23, 2025
@zinzoddari
Copy link
Collaborator Author

/ai-review

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Reviewer Comments

|| uri.startsWith("/api/user/sign-up");
|| uri.startsWith("/api/user/sign-up")
|| uri.startsWith("/actuator/health");
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/actuator/health 엔드포인트는 인증 없이 접근 가능하도록 설정되었는데, 이는 헬스체크 목적에 부합합니다. 다만, Actuator는 헬스체크 외에도 다양한 관리 기능을 제공하며, 민감한 정보가 노출될 수 있습니다. 필요하다면, 헬스체크 외 다른 Actuator 엔드포인트에 대한 접근 제어를 고려해보시는 것이 좋습니다. 예를 들어 management.endpoints.web.exposure.include=health,info 설정을 통해 노출되는 엔드포인트를 제한할 수 있습니다.

또한, Actuator 엔드포인트에 대한 보안 설정을 강화하기 위해 management.endpoint.health.show-details=when-authorized 설정을 고려하여, 인증된 사용자에게만 상세 정보를 노출하도록 설정하는 것도 좋은 방법입니다.

Copy link
Collaborator

@Jiwon-cho Jiwon-cho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨어요~! 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍

Copy link
Collaborator

@myeongha myeongha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다~~~~!!!

@zinzoddari zinzoddari marked this pull request as draft June 25, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌏 Deploy 배포와 관련된 것을 작성합니다. ⚙️ Setting 프로젝트 셋팅을 합니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spring Actuator Dependency 추가하기

4 participants