감사 로그 조회 기능 확장 (사용자 및 이벤트 필터링)
This commit is contained in:
1 parent
5cf784a2c2
commit
b4241cb98b
3 files changed
+44
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user