forked from baron/baron-sso
감사 로그 조회 기능 확장 (사용자 및 이벤트 필터링)
This commit is contained in:
@@ -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