mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 23:28:25 +00:00
Rename select org audit log event name
This commit is contained in:
@@ -366,7 +366,7 @@ export enum EventType {
|
|||||||
ORG_ADMIN_ACCESS_PROJECT = "org-admin-accessed-project",
|
ORG_ADMIN_ACCESS_PROJECT = "org-admin-accessed-project",
|
||||||
ORG_ADMIN_BYPASS_SSO = "org-admin-bypassed-sso",
|
ORG_ADMIN_BYPASS_SSO = "org-admin-bypassed-sso",
|
||||||
USER_LOGIN = "user-login",
|
USER_LOGIN = "user-login",
|
||||||
USER_SELECT_ORGANIZATION = "user-select-organization",
|
SELECT_ORGANIZATION = "select-organization",
|
||||||
CREATE_CERTIFICATE_TEMPLATE = "create-certificate-template",
|
CREATE_CERTIFICATE_TEMPLATE = "create-certificate-template",
|
||||||
UPDATE_CERTIFICATE_TEMPLATE = "update-certificate-template",
|
UPDATE_CERTIFICATE_TEMPLATE = "update-certificate-template",
|
||||||
DELETE_CERTIFICATE_TEMPLATE = "delete-certificate-template",
|
DELETE_CERTIFICATE_TEMPLATE = "delete-certificate-template",
|
||||||
@@ -2672,8 +2672,8 @@ interface UserLoginEvent {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
interface UserSelectOrganizationEvent {
|
interface SelectOrganizationEvent {
|
||||||
type: EventType.USER_SELECT_ORGANIZATION;
|
type: EventType.SELECT_ORGANIZATION;
|
||||||
metadata: {
|
metadata: {
|
||||||
email: string;
|
email: string;
|
||||||
userAgent: string;
|
userAgent: string;
|
||||||
@@ -4564,4 +4564,4 @@ export type Event =
|
|||||||
| AutomatedRenewCertificate
|
| AutomatedRenewCertificate
|
||||||
| AutomatedRenewCertificateFailed
|
| AutomatedRenewCertificateFailed
|
||||||
| UserLoginEvent
|
| UserLoginEvent
|
||||||
| UserSelectOrganizationEvent;
|
| SelectOrganizationEvent;
|
||||||
|
|||||||
@@ -686,7 +686,7 @@ export const authLoginServiceFactory = ({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
event: {
|
event: {
|
||||||
type: EventType.USER_SELECT_ORGANIZATION,
|
type: EventType.SELECT_ORGANIZATION,
|
||||||
metadata: {
|
metadata: {
|
||||||
email: user.email || "",
|
email: user.email || "",
|
||||||
userAgent,
|
userAgent,
|
||||||
|
|||||||
Reference in New Issue
Block a user