Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Resolve merge conflicts
Tuan Dang9727075b0bfa
diff --cc backend/src/controllers/v2/workspaceController.tsindex 0aafcd525e,1b10ebccdf..95c03bbc49--- a/backend/src/controllers/v2/workspaceController.ts+++ b/backend/src/controllers/v2/workspaceController.ts@@@ -455,19 -134,10 +135,12 @@@ export const pullSecrets = async (req:}secrets = await pull({- userId: req.user._id.toString(),+ userId,workspaceId,- environment+ environment,+ channel,+ ipAddress: req.ip});-- key = await Key.findOne({- workspace: workspaceId,- receiver: req.user._id- })- .sort({ createdAt: -1 })- .populate('sender', '+publicKey');if (channel !== 'cli') {secrets = reformatPullSecrets({ secrets });diff --cc backend/src/routes/v1/userAction.tsindex bbd488e064,4caa890c0f..b14ab3471d--- a/backend/src/routes/v1/userAction.ts+++ b/backend/src/routes/v1/userAction.ts@@@ -4,10 -4,11 +4,12 @@@ import { requireAuth, validateRequestimport { body, query } from 'express-validator';import { userActionController } from '../../controllers/v1';+// note: [userAction] will be deprecated in /v2 in favor of [action]router.post('/',- requireAuth,+ requireAuth({+ acceptedAuthModes: ['jwt']+ }),body('action'),validateRequest,userActionController.addUserActiondiff --cc backend/src/types/express/index.d.tsindex 33b10e2bc8,1568003603..22f7459768--- a/backend/src/types/express/index.d.ts+++ b/backend/src/types/express/index.d.ts@@@ -13,9 -13,9 +13,10 @@@ declare globalintegrationAuth: any;bot: any;secret: any;+ secretSnapshot: any;serviceToken: any;accessToken: any;+ serviceTokenData: any;query?: any;}}