-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix/#620: 마스킹 해제, 로그 파일 90일동안 보존 되도록 수정 #621
base: develop
Are you sure you want to change the base?
Conversation
|
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder"> | ||
<layout class="com.gaebaljip.exceed.common.log.MaskingPatternLayout"> | ||
<maskPattern>\"(?i).*email.*"\s*:\s*\"(.*?)\"</maskPattern> | ||
<maskPattern>\"(?i).*password.*"\s*:\s*\"(.*?)\"</maskPattern> | ||
<maskPattern>\"(?i).*height.*"\s*:\s*(\d+)</maskPattern> | ||
<maskPattern>\"(?i).*weight.*"\s*:\s*(\d+)</maskPattern> | ||
<maskPattern>\"(?i).*targetWeight.*"\s*:\s*(\d+)</maskPattern> | ||
<maskPattern>\"(?i).*age.*"\s*:\s*(\d+)</maskPattern> | ||
<maskPattern>\"(?i).*etc.*"\s*:\s*\"(.*?)\"</maskPattern> | ||
<maskPattern>\"(?i).*activity.*"\s*:\s*\"(.*?)\"</maskPattern> | ||
<pattern>${CONSOLE_LOG_PATTERN}</pattern> | ||
</layout> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
개인정보 고려해서 etc랑 password는 마스킹 살리는 게 좋지 않을까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pwd는 마스킹 해도 될 것 같은데 etc는 한번 마스킹하면 다시 못 되돌릴텐데 etc도 마스킹하나요? 그때 나중에 수사 이런 것 때문에 90일동안 로그 남겨둔다고 했는데 etc도 기록해야 될 것 같다는 생각이 들어요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
etc가 개인 알러지 상태 작성하는 거랑 관련된 건데 데이터베이스에 저장할 때 암호화하니깐 로그 저장하는 것도 암호화해야한다고 생각했어요. 확실히 기억이 안 나서 슬랙에 함 물어보는 게 좋을 것 같아요.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
📌관련 이슈
close #620
🔑 주요 변경사항