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
fix lint on backend
adilson21f604087a90
diff --git a/backend/src/server/routes/v3/external-migration-router.ts b/backend/src/server/routes/v3/external-migration-router.tsindex 805aa4d2b3..9638d15309 100644--- a/backend/src/server/routes/v3/external-migration-router.ts+++ b/backend/src/server/routes/v3/external-migration-router.ts@@ -272,10 +272,10 @@ export const registerExternalMigrationRouter = async (server: FastifyZodProvideroperationId: "importVaultSecretsV3",body: z.object({projectId: z.string(),- environment: z.string().max(64),- secretPath: z.string().max(1024),- vaultNamespace: z.string().max(256),- vaultSecretPaths: z.array(z.string().max(1024)).min(1).max(500),+ environment: z.string(),+ secretPath: z.string(),+ vaultNamespace: z.string(),+ vaultSecretPaths: z.array(z.string().max(255)).min(1).max(500),connectionId: z.string().uuid(),keepVaultStructure: z.boolean()diff --git a/backend/src/services/external-migration/external-migration-service.ts b/backend/src/services/external-migration/external-migration-service.tsindex ffe76ba498..b16ee7145b 100644--- a/backend/src/services/external-migration/external-migration-service.ts+++ b/backend/src/services/external-migration/external-migration-service.ts@@ -780,6 +780,8 @@ export const externalMigrationServiceFactory = ({return {status: ExternalMigrationImportStatus.ApprovalRequired,+ importedPaths: [],+ approvalRequiredPaths: [secretPath],importedSecretCount: 0,approvalRequiredSecretCount: Object.keys(vaultSecrets).length};@@ -787,6 +789,8 @@ export const externalMigrationServiceFactory = ({return {status: ExternalMigrationImportStatus.Imported,+ importedPaths: [secretPath],+ approvalRequiredPaths: [],importedSecretCount: Object.keys(vaultSecrets).length,approvalRequiredSecretCount: 0};