Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: corrected variable name

=28e991212516
diff --git a/backend/src/ee/services/audit-log/audit-log-types.ts b/backend/src/ee/services/audit-log/audit-log-types.ts
index c30eac4408..db4f67decb 100644
--- a/backend/src/ee/services/audit-log/audit-log-types.ts
+++ b/backend/src/ee/services/audit-log/audit-log-types.ts
@@ -191,7 +191,7 @@ export enum EventType {
MACHINE_IDENTITY_AUTH_TEMPLATE_UPDATE = "machine-identity-auth-template-update",
MACHINE_IDENTITY_AUTH_TEMPLATE_DELETE = "machine-identity-auth-template-delete",
LOGIN_IDENTITY_UNIVERSAL_AUTH = "login-identity-universal-auth",
- LOGIN_IDENTITY_UA_AUTH_FAILED = "login-identity-universal-auth-failed",
+ LOGIN_IDENTITY_UNIVERSAL_AUTH_FAILED = "login-identity-ua-auth-failed",
ADD_IDENTITY_UNIVERSAL_AUTH = "add-identity-universal-auth",
UPDATE_IDENTITY_UNIVERSAL_AUTH = "update-identity-universal-auth",
GET_IDENTITY_UNIVERSAL_AUTH = "get-identity-universal-auth",
@@ -1162,7 +1162,7 @@ interface LoginIdentityUniversalAuthEvent {
}
interface LoginIdentityUniversalAuthFailedEvent {
- type: EventType.LOGIN_IDENTITY_UA_AUTH_FAILED;
+ type: EventType.LOGIN_IDENTITY_UNIVERSAL_AUTH_FAILED;
metadata: {
clientId: string;
identityId: string | null;
diff --git a/backend/src/server/routes/v1/identity-universal-auth-router.ts b/backend/src/server/routes/v1/identity-universal-auth-router.ts
index f4f47f5e42..fe0d62e12f 100644
--- a/backend/src/server/routes/v1/identity-universal-auth-router.ts
+++ b/backend/src/server/routes/v1/identity-universal-auth-router.ts
@@ -123,7 +123,7 @@ export const registerIdentityUaRouter = async (server: FastifyZodProvider) => {
},
orgId: error.detail.orgId as string,
event: {
- type: EventType.LOGIN_IDENTITY_UA_AUTH_FAILED,
+ type: EventType.LOGIN_IDENTITY_UNIVERSAL_AUTH_FAILED,
metadata: {
clientId: req.body.clientId,
identityId: error.detail.identityId as string,