feat: list & block online users

This commit is contained in:
naiba committed 2024-12-22 01:08:07 +08:00
1 parent 653d0cf2e9
commit 4af7e83004
10 files changed
+167 -12

No files matched your search

+2
View File
@@ -14,12 +14,14 @@ const (
WAFBlockReasonTypeLoginFail
WAFBlockReasonTypeBruteForceToken
WAFBlockReasonTypeAgentAuthFail
WAFBlockReasonTypeManual
)
const (
BlockIDgRPC = -127 + iota
BlockIDToken
BlockIDUnknownUser
BlockIDManual
)
type WAFApiMock struct {