Skip to content

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

feat: added project name

=da463cc5af41
diff --git a/backend/src/ee/services/audit-log/audit-log-queue.ts b/backend/src/ee/services/audit-log/audit-log-queue.ts
index e27b3fd34d..29b6371a0c 100644
--- a/backend/src/ee/services/audit-log/audit-log-queue.ts
+++ b/backend/src/ee/services/audit-log/audit-log-queue.ts
@@ -120,7 +120,9 @@ export const auditLogQueueServiceFactory = async ({
orgId,
expiresAt: new Date(createdAt.getTime() + ttl),
createdAt,
- updatedAt: createdAt
+ updatedAt: createdAt,
+ // project name is only used for non-ClickHouse insertion
+ ...(!isClickHouseBatchEnabled ? { projectName: project?.name } : {})
};
// Push to Redis stream for ClickHouse batch processing