1
0
forked from baron/baron-sso

감사 로그 조회 기능 확장 (사용자 및 이벤트 필터링)

This commit is contained in:
2026-02-04 13:43:28 +09:00
parent 5cf784a2c2
commit b4241cb98b
3 changed files with 44 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ type AuditLog struct {
type AuditRepository interface {
Create(log *AuditLog) error
FindPage(ctx context.Context, limit int, cursor *AuditCursor) ([]AuditLog, error)
FindByUserAndEvents(ctx context.Context, userID string, eventTypes []string, limit int) ([]AuditLog, error)
Ping(ctx context.Context) error
}