Skip to content

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

fix: use correct property for LDAP modify operation type

Devin AI1295f6b691d2
diff --git a/backend/src/ee/services/dynamic-secret/providers/ldap.ts b/backend/src/ee/services/dynamic-secret/providers/ldap.ts
index 5c2343655b..a79592b0f0 100644
--- a/backend/src/ee/services/dynamic-secret/providers/ldap.ts
+++ b/backend/src/ee/services/dynamic-secret/providers/ldap.ts
@@ -103,7 +103,7 @@ export const LdapProvider = (): TDynamicProviderFns => {
type: string;
changes: {
- operation?: string;
+ type?: string;
attribute: {
attribute: string;
};
@@ -159,7 +159,7 @@ export const LdapProvider = (): TDynamicProviderFns => {
entry.changes.forEach((change) => {
changes.push(
new ldapjs.Change({
- operation: change.operation || "replace",
+ operation: change.type || "replace",
modification: {
type: change.attribute.attribute,
// eslint-disable-next-line @typescript-eslint/no-unsafe-return