Skip to content

[UPLUS-125] feat : 메세지 로그 암호화된 번호/이메일 복호화 및 마스킹#42

Merged
paul0755 merged 3 commits into
developfrom
feat/UPLUS-125
Jan 26, 2026
Merged

[UPLUS-125] feat : 메세지 로그 암호화된 번호/이메일 복호화 및 마스킹#42
paul0755 merged 3 commits into
developfrom
feat/UPLUS-125

Conversation

@arlen02-01
Copy link
Copy Markdown
Contributor

@arlen02-01 arlen02-01 commented Jan 26, 2026

🎫 지라 티켓


✅ 작업 사항


📋 체크리스트

  • 코드가 정상적으로 빌드됩니다.
  • 관련 테스트 코드를 작성했습니다.
  • 기존 테스트가 모두 통과합니다.
  • 코드 스타일(Spotless, Checkstyle)을 준수합니다.

⌨ 기타

@github-actions github-actions Bot requested a review from paul0755 January 26, 2026 13:59
@github-actions github-actions Bot added the size/S PR size: S label Jan 26, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @arlen02-01, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 메시지 로그에 기록된 암호화된 수신자(전화번호 또는 이메일) 정보를 조회 시 복호화하고 마스킹하여 표시하는 기능을 추가합니다. 이는 민감한 개인 정보가 노출되는 것을 방지하고 데이터 보안을 강화하는 데 목적이 있습니다.

Highlights

  • 수신자 정보 마스킹 기능 추가: MessageLogDetailResponse에 마스킹된 수신자를 받는 오버로드된 from 메서드를 추가하고, MessageLogService에서 암호화된 수신자 정보를 복호화하고 마스킹하는 로직을 구현했습니다.
  • 로그 상세 조회 시 개인 정보 보호 강화: 로그 상세 조회 시 수신자 정보가 안전하게 복호화 및 마스킹되어 표시되도록 변경하여 민감한 개인 정보 노출을 방지합니다.
  • 암호화 유틸리티 통합: MessageLogServiceAesUtil 의존성을 주입하고, 복호화 및 마스킹을 위한 헬퍼 메서드(safeDecrypt, maskRecipient)를 추가했습니다.
  • 설정 파일 업데이트: application.yml에 암호화 디버그 설정을 추가했습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist 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 Review

이번 PR은 메시지 로그 조회 시 암호화된 수신자 정보를 복호화하고 마스킹하여 보여주는 기능을 추가했습니다. 전반적으로 기능 구현은 잘 이루어졌습니다. 다만, 몇 가지 개선점을 제안합니다. DTO 필드명의 명확성을 높이고, 유틸리티 클래스의 위치를 조정하며, 예외 처리 방식을 더 안전하게 개선하는 것이 좋겠습니다. 또한, 사용되지 않는 설정값에 대한 검토도 필요해 보입니다. 자세한 내용은 각 파일에 남긴 코멘트를 참고해주세요.

Comment thread src/main/java/com/project/notification/service/MessageLogService.java Outdated
Comment thread src/main/java/com/project/notification/service/MessageLogService.java Outdated
Comment thread src/main/resources/application.yml
@github-actions github-actions Bot added the fix 버그 수정 label Jan 26, 2026
@github-actions
Copy link
Copy Markdown

SonarQube Quality Summary (Community)

Quality Gate PASSED

Branch: feat/UPLUS-125
Compared to: default branch

Issues

  • 🐞 Bugs: 0
  • 🔐 Vulnerabilities: 2
  • 📎 Code Smells: 52

Measures

  • Coverage: 0%
  • Duplication: 0%

🔗 Dashboard: https://sonarqube.swthewhite.store/dashboard?id=api-core&branch=feat/UPLUS-125

Generated automatically by GitHub Actions.

Copy link
Copy Markdown
Contributor

@paul0755 paul0755 left a comment

Choose a reason for hiding this comment

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

LGTM!

@paul0755 paul0755 merged commit 6f7eb44 into develop Jan 26, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix 버그 수정 size/S PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants