Skip to content

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

Merge branch 'main' into activity-logs

mv-turtle3f0eefb0915b
diff --cc backend/src/controllers/v2/workspaceController.ts
index 562efeeabe,54317690d4..0dbdfa0769
--- a/backend/src/controllers/v2/workspaceController.ts
+++ b/backend/src/controllers/v2/workspaceController.ts
@@@ -1,9 -1,20 +1,16 @@@
import { Request, Response } from 'express';
import * as Sentry from '@sentry/node';
import {
- Key,
+ Workspace,
+ Membership,
+ MembershipOrg,
+ Integration,
+ IntegrationAuth,
+ Key,
+ IUser,
+ ServiceToken,
ServiceTokenData
} from '../../models';
-import {
- createWorkspace as create,
- deleteWorkspace as deleteWork
-} from '../../helpers/workspace';
import {
v2PushSecrets as push,
pullSecrets as pull,
@@@ -126,11 -136,9 +133,11 @@@ export const pullSecrets = async (req:
secrets = await pull({
userId,
workspaceId,
- environment
+ environment,
+ channel: channel ? channel : 'cli',
+ ipAddress: req.ip
});
-
+
if (channel !== 'cli') {
secrets = reformatPullSecrets({ secrets });
}