-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsecurity_event.go
47 lines (42 loc) · 2.09 KB
/
security_event.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package tsc
type SecurityEvent = string
const (
AdminAddEvent SecurityEvent = "ADMIN_ADD"
AdminRemoveEvent SecurityEvent = "ADMIN_REMOVE"
AdminChangePermissionsEvent SecurityEvent = "ADMIN_CHANGE_PERMISSIONS"
AdminChangeSSettingEvent SecurityEvent = "ADMIN_CHANGE_SETTING"
)
const (
DataImportEvent SecurityEvent = "DATA_IMPORT"
DataExportEvent SecurityEvent = "DATA_EXPORT"
DataEncryptEvent SecurityEvent = "DATA_ENCRYPT"
DataDecryptEvent SecurityEvent = "DATA_DECRYPT"
DataCreateEvent SecurityEvent = "DATA_CREATE"
DataDeleteEvent SecurityEvent = "DATA_DELETE"
DataDenyAccessEvent SecurityEvent = "DATA_DENY_ACCESS"
DataChangePermissionsEvent SecurityEvent = "DATA_CHANGE_PERMISSIONS"
)
const (
PeriodicEnforceRetentionPolicyEvent SecurityEvent = "ENFORCE_RETENTION_POLICY"
PeriodicCreateBackupEvent SecurityEvent = "CREATE_BACKUP"
)
const (
UserAddEvent SecurityEvent = "USER_ADD"
UserSuspendEvent SecurityEvent = "USER_SUSPEND"
UserRemoveEvent SecurityEvent = "USER_REMOVE"
UserLoginEvent SecurityEvent = "USER_LOGIN"
UserTimeoutSessionEvent SecurityEvent = "USER_TIMEOUT_SESSION"
UserLockoutEvent SecurityEvent = "USER_LOCKOUT"
UserLogoutEvent SecurityEvent = "USER_LOGOUT"
UserChangePermissionsEvent SecurityEvent = "USER_CHANGE_PERMISSIONS"
UserExpirePasswordEvent SecurityEvent = "USER_EXPIRE_PASSWORD"
//nolint: gosec
UserResetPasswordEvent SecurityEvent = "USER_RESET_PASSWORD"
UserChangePasswordEvent SecurityEvent = "USER_CHANGE_PASSWORD"
UserRejectLoginEvent SecurityEvent = "USER_REJECT_LOGIN"
UserEnableTwoFactorEvent SecurityEvent = "USER_ENABLE_TWO_FACTOR"
UserDisableTwoFactorEvent SecurityEvent = "USER_DISABLE_TWO_FACTOR"
UserChangeEmailEvent SecurityEvent = "USER_CHANGE_EMAIL"
UserRequestEmailVerificationEvent SecurityEvent = "USER_REQUEST_EMAIL_VERIFICATION"
UserVerifyEmailEvent SecurityEvent = "USER_VERIFY_EMAIL"
)