Skip to content

[REFACTOR] 보안 취약점 리팩토링#212

Merged
catomat0 merged 6 commits intodevelopfrom
refactor/#208-auth-refactoring
Apr 8, 2026
Merged

[REFACTOR] 보안 취약점 리팩토링#212
catomat0 merged 6 commits intodevelopfrom
refactor/#208-auth-refactoring

Conversation

@catomat0
Copy link
Copy Markdown
Collaborator

@catomat0 catomat0 commented Apr 8, 2026

📌 PR 개요

  • 보안 취약점 수정

🔗 관련 이슈


🛠 변경 사항

  • 토큰 필터 에러 리턴
  • logout 진입 제한
  • 로그 마스킹
  • nginx 취약점 보완
  • 배포 서버 스웨거 접근 제한

⚠️ 리뷰 시 참고 사항


✅ 체크리스트

  • 로컬에서 정상 실행됨
  • 로그 / 네이밍 정리
  • main / develop 직접 커밋 아님

@catomat0 catomat0 self-assigned this Apr 8, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 8, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 55e51d89-21a4-4c07-91e0-44482351c09f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/#208-auth-refactoring

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@catomat0
Copy link
Copy Markdown
Collaborator Author

catomat0 commented Apr 8, 2026

@CodeRabbit

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 8, 2026

Tip

For best results, initiate chat on the files or code changes.

@catomat0 안녕하세요! 👋 무엇을 도와드릴까요? 이 PR에 대한 리뷰를 원하시면 말씀해 주세요. 아래와 같은 작업들을 도와드릴 수 있습니다:

  • 코드 리뷰 - PR 변경 사항 전체 검토
  • 보안 분석 - 보안 취약점 수정 사항 상세 검토
  • 질문 답변 - 코드나 변경 사항에 대한 구체적인 질문

원하시는 작업을 알려주시면 바로 도와드리겠습니다! 😊

@catomat0 catomat0 closed this Apr 8, 2026
@catomat0
Copy link
Copy Markdown
Collaborator Author

catomat0 commented Apr 8, 2026

@CodeRabbit 보안 취약점 리팩토링했는데 머지 충돌 난 부분 잘 해결되었는지 체크해주고, 다른 보안 취약점 있는지 체크해줘 api 부분의 사용자 확인 이후 호출해야하는 부분은 이미 인지하고있어

@catomat0 catomat0 reopened this Apr 8, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 8, 2026

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Get PR details and files changed
gh pr view 212 --repo UMC-DearE/BackEnd --json files,mergeable,mergeStateStatus,baseRefName,headRefName

echo "=== PR DIFF ==="
gh pr diff 212 --repo UMC-DearE/BackEnd

Length of output: 4007


🏁 Script executed:

#!/bin/bash
# Get full content of changed files to deeper security analysis
cat src/main/java/com/deare/backend/global/config/SecurityConfig.java
echo "=== SwaggerConfig ==="
cat src/main/java/com/deare/backend/global/config/SwaggerConfig.java
echo "=== AuthService relevant sections ==="
cat src/main/java/com/deare/backend/api/auth/service/AuthService.java

Length of output: 15996


@catomat0 분석 결과를 아래에 정리했습니다.


✅ 머지 충돌 여부

mergeable: "MERGEABLE"머지 충돌 없습니다. mergeStateStatus: "BLOCKED"는 리뷰 승인 조건 미충족으로 인한 것입니다.


🔍 보안 변경 사항 검토

✅ 올바르게 수정된 사항

항목 상태
로그아웃 진입 제한 (.authenticated()) ✅ 순서 정상 — requestMatchers("/api/v1/auth/logout").authenticated()/api/v1/auth/** permitAll보다 먼저 선언되어 Spring Security가 올바르게 처리
로그 이메일 마스킹 (handleOAuthCallback, issueJwtAndReturn) ✅ 정상 적용
Swagger permitAll 제거 ✅ 미인증 접근 차단됨 (.anyRequest().authenticated() 적용)

❌ 추가 보안 취약점 발견

1. signup() 메서드 이메일 마스킹 누락 (Critical)

AuthService.javasignup() 메서드에서 이메일이 마스킹 없이 그대로 로그에 출력되고 있습니다:

// 현재 (취약)
log.info("회원가입 완료 - User ID: {}, Provider: {}, Email: {}",
        newUser.getId(), provider, email); // ← email 마스킹 없음!

// 수정 후
log.info("회원가입 완료 - User ID: {}, Provider: {}, Email: {}",
        newUser.getId(), provider, maskEmail(email));

handleOAuthCallbackissueJwtAndReturn은 마스킹했지만 signup()은 빠졌습니다.


2. SwaggerConfig — Springdoc 자동 구성 주의

@Configuration을 주석 처리했으나, springdoc-openapi 라이브러리가 classpath에 있으면 Springdoc 자동 구성(Auto-configuration)이 독립적으로 동작하여 /v3/api-docs, /swagger-ui/** 엔드포인트가 여전히 생성될 수 있습니다. 현재 SecurityConfig에서 해당 경로를 permitAll에서 제거했으므로 인증된 사용자만 접근 가능하지만, 완전히 비활성화하려면:

# application-prod.properties (권장)
springdoc.api-docs.enabled=false
springdoc.swagger-ui.enabled=false

이 방법이 코드 주석 처리보다 명확하고 안전합니다.


3. (참고) localhost CORS 허용

config.setAllowedOrigins(List.of(
    "http://localhost:3000",
    "http://localhost:5173",  // 개발 환경 origin
    ...
));

프로덕션 배포 시 로컬 origin이 포함되어 있습니다. 환경별로 분리 관리하는 것을 권장합니다.


요약

항목 결과
머지 충돌 ✅ 없음
로그아웃 진입 제한 ✅ 정상
로그 마스킹 (handleOAuthCallback, issueJwtAndReturn) ✅ 정상
signup() 이메일 마스킹 ❌ 누락 — 수정 필요
Swagger 완전 비활성화 ⚠️ properties 설정 추가 권장

@catomat0 catomat0 merged commit f1c3d67 into develop Apr 8, 2026
2 checks passed
catomat0 added a commit that referenced this pull request Apr 8, 2026
* Conflict (#199)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

* Chore/resolve main develop conflict (#193)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix: cd.yml 수정 도커 컴포즈 (#189)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix/merge develop to main2 (#192)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Chore/resolve main develop conflict (#195)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix: cd.yml 수정 도커 컴포즈 (#189)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix/merge develop to main2 (#192)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: cd.yml 수정

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* [CHORE] 전역 프리픽스 추가 (#209)

* Chore: SecurityConfig 엔드포인트 프리픽스 추가

* Feat: 전역 프리픽스 추가 WebConfig

* Fix: test 코드 프리픽스 수정 (CI)

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR] 유저 역할 접근 방식 리팩토링 (#211)

* Chore: 토큰에서 role 꺼내기

* Chore: db 접근 종속성 없애고, 곧바로 토큰에서 정보 접근

---------

Co-authored-by: catomat0 <catomat0@github.com>

* Chore: 런칭용 약관 업데이트v2 (기존 약관 끔) (#210)

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR] 보안 취약점 리팩토링 (#212)

* feat: email 로그 마스킹

* fix: logout 인증 접근 수정 (기존 : 미로그인이어도 접근 가능)

* fix: 필터 내부 예외 처리 추가

* chore: 배포단계 - 스웨거 접근제한

* fix: 마스킹 로그 누락 부분 해결

---------

Co-authored-by: catomat0 <catomat0@github.com>

* feat: AOP 기반 로깅 세팅 (#213)

Co-authored-by: catomat0 <catomat0@github.com>

* feat: 프로메테우스 세팅 및 엔드포인트 추가 (#214)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>
catomat0 added a commit that referenced this pull request Apr 10, 2026
* Conflict (#199)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

* Chore/resolve main develop conflict (#193)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix: cd.yml 수정 도커 컴포즈 (#189)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix/merge develop to main2 (#192)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Chore/resolve main develop conflict (#195)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix: cd.yml 수정 도커 컴포즈 (#189)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix/merge develop to main2 (#192)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: cd.yml 수정

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* [CHORE] 전역 프리픽스 추가 (#209)

* Chore: SecurityConfig 엔드포인트 프리픽스 추가

* Feat: 전역 프리픽스 추가 WebConfig

* Fix: test 코드 프리픽스 수정 (CI)

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR] 유저 역할 접근 방식 리팩토링 (#211)

* Chore: 토큰에서 role 꺼내기

* Chore: db 접근 종속성 없애고, 곧바로 토큰에서 정보 접근

---------

Co-authored-by: catomat0 <catomat0@github.com>

* Chore: 런칭용 약관 업데이트v2 (기존 약관 끔) (#210)

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR] 보안 취약점 리팩토링 (#212)

* feat: email 로그 마스킹

* fix: logout 인증 접근 수정 (기존 : 미로그인이어도 접근 가능)

* fix: 필터 내부 예외 처리 추가

* chore: 배포단계 - 스웨거 접근제한

* fix: 마스킹 로그 누락 부분 해결

---------

Co-authored-by: catomat0 <catomat0@github.com>

* feat: AOP 기반 로깅 세팅 (#213)

Co-authored-by: catomat0 <catomat0@github.com>

* feat: 프로메테우스 세팅 및 엔드포인트 추가 (#214)

Co-authored-by: catomat0 <catomat0@github.com>

* fix: 프로메테우스 세팅 누락 추가 (#217)

Co-authored-by: catomat0 <catomat0@github.com>

* fix: 쿠키 하달 경로 수정 (#219)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>
catomat0 added a commit that referenced this pull request Apr 10, 2026
* Conflict (#199)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

* Chore/resolve main develop conflict (#193)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix: cd.yml 수정 도커 컴포즈 (#189)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix/merge develop to main2 (#192)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Chore/resolve main develop conflict (#195)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix: cd.yml 수정 도커 컴포즈 (#189)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix/merge develop to main2 (#192)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: cd.yml 수정

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* [CHORE] 전역 프리픽스 추가 (#209)

* Chore: SecurityConfig 엔드포인트 프리픽스 추가

* Feat: 전역 프리픽스 추가 WebConfig

* Fix: test 코드 프리픽스 수정 (CI)

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR] 유저 역할 접근 방식 리팩토링 (#211)

* Chore: 토큰에서 role 꺼내기

* Chore: db 접근 종속성 없애고, 곧바로 토큰에서 정보 접근

---------

Co-authored-by: catomat0 <catomat0@github.com>

* Chore: 런칭용 약관 업데이트v2 (기존 약관 끔) (#210)

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR] 보안 취약점 리팩토링 (#212)

* feat: email 로그 마스킹

* fix: logout 인증 접근 수정 (기존 : 미로그인이어도 접근 가능)

* fix: 필터 내부 예외 처리 추가

* chore: 배포단계 - 스웨거 접근제한

* fix: 마스킹 로그 누락 부분 해결

---------

Co-authored-by: catomat0 <catomat0@github.com>

* feat: AOP 기반 로깅 세팅 (#213)

Co-authored-by: catomat0 <catomat0@github.com>

* feat: 프로메테우스 세팅 및 엔드포인트 추가 (#214)

Co-authored-by: catomat0 <catomat0@github.com>

* fix: 프로메테우스 세팅 누락 추가 (#217)

Co-authored-by: catomat0 <catomat0@github.com>

* fix: 쿠키 하달 경로 수정 (#219)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>
catomat0 added a commit that referenced this pull request Apr 10, 2026
* Conflict (#199)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

* Chore/resolve main develop conflict (#193)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix: cd.yml 수정 도커 컴포즈 (#189)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix/merge develop to main2 (#192)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Chore/resolve main develop conflict (#195)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix: cd.yml 수정 도커 컴포즈 (#189)

Co-authored-by: catomat0 <catomat0@github.com>

* Fix/merge develop to main2 (#192)

* [DEPLOY] 2/12 배포 (#163)

* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>

* [DEPLOY] 2/12 프롬 수정 (#167)

* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: AI 컨텐츠 내용 수정 시 재분석 요청 분기 추가 (#176)

Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>

* [DEPLOY] 3/18-20 UX 개선용 배포 (#188)

* docs: README 초안 작성 (#184)

* Fix: 도커 업데이트로 인한 cd 배포 스크립트문 재 설정 (#186)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* Fix: cd.yml 수정

---------

Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>

* [CHORE] 전역 프리픽스 추가 (#209)

* Chore: SecurityConfig 엔드포인트 프리픽스 추가

* Feat: 전역 프리픽스 추가 WebConfig

* Fix: test 코드 프리픽스 수정 (CI)

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR] 유저 역할 접근 방식 리팩토링 (#211)

* Chore: 토큰에서 role 꺼내기

* Chore: db 접근 종속성 없애고, 곧바로 토큰에서 정보 접근

---------

Co-authored-by: catomat0 <catomat0@github.com>

* Chore: 런칭용 약관 업데이트v2 (기존 약관 끔) (#210)

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR] 보안 취약점 리팩토링 (#212)

* feat: email 로그 마스킹

* fix: logout 인증 접근 수정 (기존 : 미로그인이어도 접근 가능)

* fix: 필터 내부 예외 처리 추가

* chore: 배포단계 - 스웨거 접근제한

* fix: 마스킹 로그 누락 부분 해결

---------

Co-authored-by: catomat0 <catomat0@github.com>

* feat: AOP 기반 로깅 세팅 (#213)

Co-authored-by: catomat0 <catomat0@github.com>

* feat: 프로메테우스 세팅 및 엔드포인트 추가 (#214)

Co-authored-by: catomat0 <catomat0@github.com>

* fix: 프로메테우스 세팅 누락 추가 (#217)

Co-authored-by: catomat0 <catomat0@github.com>

* fix: 쿠키 하달 경로 수정 (#219)

Co-authored-by: catomat0 <catomat0@github.com>

* fix: term 하달 로직 수정(업데이트 되도록) (#223)

Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: Hyeonjin Choe <choehyeonjin831@gmail.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>
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.

[REFACTOR] 보안 부분 수정 및 추가

1 participant