feat(governance): automate identity and comparison coverage
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
This commit is contained in:
@@ -92,6 +92,15 @@ class LoginHistory(Base):
|
||||
STATUS_SUCCESS = 'success'
|
||||
STATUS_FAILED = 'failed'
|
||||
STATUS_LOCKED = 'locked'
|
||||
STATUS_LOGOUT = 'logout'
|
||||
STATUS_REVOKED = 'session_revoked'
|
||||
STATUS_DENIED = 'authorization_denied'
|
||||
STATUS_SHADOW = 'shadow_evaluated'
|
||||
STATUS_IDENTITY_CHANGED = 'identity_changed'
|
||||
STATUS_PASSWORD_CHANGED = 'password_changed'
|
||||
STATUS_USER_CREATED = 'user_created'
|
||||
STATUS_USER_DISABLED = 'user_disabled'
|
||||
STATUS_PERMISSION_CHANGED = 'permission_changed'
|
||||
|
||||
def to_dict(self):
|
||||
"""轉換為字典"""
|
||||
|
||||
Reference in New Issue
Block a user