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 account overrides
xc575586dc63f
diff --git a/backend/src/ee/routes/v1/pam-routers/pam-account-router.ts b/backend/src/ee/routes/v1/pam-routers/pam-account-router.tsindex 404c2cfd14..0be30917cc 100644--- a/backend/src/ee/routes/v1/pam-routers/pam-account-router.ts+++ b/backend/src/ee/routes/v1/pam-routers/pam-account-router.ts@@ -104,9 +104,9 @@ const registerPerTypeEndpoints = (gatewayId: z.string().uuid().optional().describe("The ID of the gateway to use"),gatewayPoolId: z.string().uuid().optional().describe("The ID of the gateway pool to use"),recordingConnectionId: z.string().uuid().optional().describe("The ID of the recording connection to use"),- settingsOverrides: PamAccountSettingsOverridesSchema.optional().describe(- "Account-level template settings overrides"- )+ settingsOverrides: PamAccountSettingsOverridesSchema.nullable()+ .optional()+ .describe("Account-level template settings overrides")}),response: {200: z.object({@@ -189,9 +189,9 @@ const registerPerTypeEndpoints = (.nullable().optional().describe("The ID of the recording connection to use"),- settingsOverrides: PamAccountSettingsOverridesSchema.optional().describe(- "Account-level template settings overrides"- )+ settingsOverrides: PamAccountSettingsOverridesSchema.nullable()+ .optional()+ .describe("Account-level template settings overrides")}),response: {200: z.object({diff --git a/backend/src/ee/services/pam-account/pam-account-types.ts b/backend/src/ee/services/pam-account/pam-account-types.tsindex a36aa80ee4..9e1c1ea446 100644--- a/backend/src/ee/services/pam-account/pam-account-types.ts+++ b/backend/src/ee/services/pam-account/pam-account-types.ts@@ -13,7 +13,7 @@ export type TCreatePamAccountDTO = {gatewayId?: string;gatewayPoolId?: string;recordingConnectionId?: string;- settingsOverrides?: TPamAccountSettingsOverrides;+ settingsOverrides?: TPamAccountSettingsOverrides | null;};export type TUpdatePamAccountDTO = {@@ -29,7 +29,7 @@ export type TUpdatePamAccountDTO = {gatewayId?: string | null;gatewayPoolId?: string | null;recordingConnectionId?: string | null;- settingsOverrides?: TPamAccountSettingsOverrides;+ settingsOverrides?: TPamAccountSettingsOverrides | null;};export type TDeletePamAccountDTO = {