Skip to content

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

fix; resolved id mismatch

=021a8886dd11
diff --git a/backend/src/ee/services/audit-log-stream/audit-log-stream-service.ts b/backend/src/ee/services/audit-log-stream/audit-log-stream-service.ts
index b3cd34ac91..211fdd938d 100644
--- a/backend/src/ee/services/audit-log-stream/audit-log-stream-service.ts
+++ b/backend/src/ee/services/audit-log-stream/audit-log-stream-service.ts
@@ -99,7 +99,7 @@ export const auditLogStreamServiceFactory = ({
scope: OrganizationActionScope.Any,
actor: actor.type,
actorId: actor.id,
- orgId: actor.orgId,
+ orgId: logStream.orgId,
actorAuthMethod: actor.authMethod,
actorOrgId: actor.orgId
});
@@ -147,7 +147,7 @@ export const auditLogStreamServiceFactory = ({
const encryptedCredentials = await encryptLogStreamCredentials({
credentials: validatedCredentials,
- orgId: actor.orgId,
+ orgId: logStream.orgId,
kmsService
});
@@ -166,7 +166,7 @@ export const auditLogStreamServiceFactory = ({
scope: OrganizationActionScope.Any,
actor: actor.type,
actorId: actor.id,
- orgId: actor.orgId,
+ orgId: logStream.orgId,
actorAuthMethod: actor.authMethod,
actorOrgId: actor.orgId
});
@@ -192,7 +192,7 @@ export const auditLogStreamServiceFactory = ({
scope: OrganizationActionScope.Any,
actor: actor.type,
actorId: actor.id,
- orgId: actor.orgId,
+ orgId: logStream.orgId,
actorAuthMethod: actor.authMethod,
actorOrgId: actor.orgId
});