improvement: 인증 보안 정책 — Rate Limit + 시도제한 + 보안 로깅 (#190) #209
No reviewers
SPMS/Owners
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#209
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "improvement/#190-auth-security-policy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 작업 요약
auth_sensitive) 적용🔗 관련 이슈 (Related Issues)
Closes #190
🛠️ 작업 내용 (Changes)
SPMS.API/Program.cs—auth_sensitiveFixedWindowLimiter 추가 (20회/15분/IP)SPMS.API/Controllers/AuthController.cs— Login/VerifyEmail/ResendVerification에[EnableRateLimiting]+ Swagger 429SPMS.API/Controllers/PasswordController.cs— ForgotPassword/IssueTempPassword에[EnableRateLimiting]SPMS.Application/SPMS.Application.csproj—Microsoft.Extensions.Logging.Abstractions패키지 추가SPMS.Application/Services/AuthService.cs— ILogger 주입 + 로그인 시도제한(5회/15분) + forgot/temp 요청제한(3회/1시간) + 보안 이벤트 로깅📢 리뷰어 참고 사항 (To Reviewers)
verify_attemptsRedis 패턴과 동일한 방식으로 구현LoginAttemptExceeded(113)에러코드가 이미 ErrorCodes에 정의되어 있어 신규 코드 추가 불필요✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)