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
lint
Matheus Nogueira7e650ae57943
diff --git a/backend/src/services/app-connection/azure-app-configuration/azure-app-configuration-connection-schemas.ts b/backend/src/services/app-connection/azure-app-configuration/azure-app-configuration-connection-schemas.tsindex 0e278b8446..f684db8c6e 100644--- a/backend/src/services/app-connection/azure-app-configuration/azure-app-configuration-connection-schemas.ts+++ b/backend/src/services/app-connection/azure-app-configuration/azure-app-configuration-connection-schemas.ts@@ -74,13 +74,12 @@ export const ValidateAzureAppConfigurationConnectionCredentialsSchema = z.discri})]);-export const CreateAzureAppConfigurationConnectionSchema = ValidateAzureAppConfigurationConnectionCredentialsSchema- .and(+export const CreateAzureAppConfigurationConnectionSchema =+ ValidateAzureAppConfigurationConnectionCredentialsSchema.and(GenericCreateAppConnectionFieldsSchema(AppConnection.AzureAppConfiguration, {supportsCredentialRotation: true})- )- .superRefine((data, ctx) => {+ ).superRefine((data, ctx) => {if (data.method !== AzureAppConfigurationConnectionMethod.ClientSecret && data.isAutoRotationEnabled) {ctx.addIssue({code: z.ZodIssueCode.custom,diff --git a/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-schemas.ts b/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-schemas.tsindex cd55943dc2..47d3274016 100644--- a/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-schemas.ts+++ b/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-schemas.ts@@ -126,11 +126,10 @@ export const ValidateAzureClientSecretsConnectionCredentialsSchema = z.discrimin})]);-export const CreateAzureClientSecretsConnectionSchema = ValidateAzureClientSecretsConnectionCredentialsSchema- .and(+export const CreateAzureClientSecretsConnectionSchema =+ ValidateAzureClientSecretsConnectionCredentialsSchema.and(GenericCreateAppConnectionFieldsSchema(AppConnection.AzureClientSecrets, { supportsCredentialRotation: true })- )- .superRefine((data, ctx) => {+ ).superRefine((data, ctx) => {if (data.method !== AzureClientSecretsConnectionMethod.ClientSecret && data.isAutoRotationEnabled) {ctx.addIssue({code: z.ZodIssueCode.custom,diff --git a/backend/src/services/app-connection/azure-devops/azure-devops-schemas.ts b/backend/src/services/app-connection/azure-devops/azure-devops-schemas.tsindex e22240b9dc..092f1e6df0 100644--- a/backend/src/services/app-connection/azure-devops/azure-devops-schemas.ts+++ b/backend/src/services/app-connection/azure-devops/azure-devops-schemas.ts@@ -111,13 +111,12 @@ export const ValidateAzureDevOpsConnectionCredentialsSchema = z.discriminatedUni})]);-export const CreateAzureDevOpsConnectionSchema = ValidateAzureDevOpsConnectionCredentialsSchema- .and(+export const CreateAzureDevOpsConnectionSchema =+ ValidateAzureDevOpsConnectionCredentialsSchema.and(GenericCreateAppConnectionFieldsSchema(AppConnection.AzureDevOps, {supportsCredentialRotation: true})- )- .superRefine((data, ctx) => {+ ).superRefine((data, ctx) => {if (data.method !== AzureDevOpsConnectionMethod.ClientSecret && data.isAutoRotationEnabled) {ctx.addIssue({code: z.ZodIssueCode.custom,diff --git a/backend/src/services/app-connection/azure-key-vault/azure-key-vault-connection-schemas.ts b/backend/src/services/app-connection/azure-key-vault/azure-key-vault-connection-schemas.tsindex f224938ab2..38631cab86 100644--- a/backend/src/services/app-connection/azure-key-vault/azure-key-vault-connection-schemas.ts+++ b/backend/src/services/app-connection/azure-key-vault/azure-key-vault-connection-schemas.ts@@ -98,14 +98,13 @@ export const ValidateAzureKeyVaultConnectionCredentialsSchema = z.discriminatedU})]);-export const CreateAzureKeyVaultConnectionSchema = ValidateAzureKeyVaultConnectionCredentialsSchema- .and(+export const CreateAzureKeyVaultConnectionSchema =+ ValidateAzureKeyVaultConnectionCredentialsSchema.and(GenericCreateAppConnectionFieldsSchema(AppConnection.AzureKeyVault, {supportsCredentialRotation: true,supportsGateways: true})- )- .superRefine((data, ctx) => {+ ).superRefine((data, ctx) => {if (data.method !== AzureKeyVaultConnectionMethod.ClientSecret && data.isAutoRotationEnabled) {ctx.addIssue({code: z.ZodIssueCode.custom,