Skip to content

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

chore(pam-account): drop unused pamProjectRecordingConfigDAL dep

bernie-gdae431b69ab8
diff --git a/backend/src/ee/services/pam-account/pam-account-service.ts b/backend/src/ee/services/pam-account/pam-account-service.ts
index ac8b347fc1..67b629bdd5 100644
--- a/backend/src/ee/services/pam-account/pam-account-service.ts
+++ b/backend/src/ee/services/pam-account/pam-account-service.ts
@@ -65,7 +65,6 @@ import { TPamAccountDependenciesDALFactory } from "../pam-discovery/pam-account-
import { TPamDomainDALFactory } from "../pam-domain/pam-domain-dal";
import { PamDomainType } from "../pam-domain/pam-domain-enums";
import { PAM_DOMAIN_FACTORY_MAP } from "../pam-domain/pam-domain-factory";
-import { TPamProjectRecordingConfigDALFactory } from "../pam-project-recording-config/pam-project-recording-config-dal";
import { TPamProjectRecordingConfigServiceFactory } from "../pam-project-recording-config/pam-project-recording-config-service";
import { TPamResourceDALFactory } from "../pam-resource/pam-resource-dal";
import { PamResource } from "../pam-resource/pam-resource-enums";
@@ -126,7 +125,6 @@ type TPamAccountServiceFactoryDep = {
"findByAccountId" | "updateById" | "countByAccountIds"
>;
keyStore: Pick<TKeyStoreFactory, "setItemWithExpiry" | "getItem">;
- pamProjectRecordingConfigDAL: Pick<TPamProjectRecordingConfigDALFactory, "findByProjectId">;
pamProjectRecordingConfigService: Pick<TPamProjectRecordingConfigServiceFactory, "resolveConfigForProject">;
};
@@ -155,7 +153,6 @@ export const pamAccountServiceFactory = ({
resourceMetadataDAL,
pamAccountDependenciesDAL,
keyStore,
- pamProjectRecordingConfigDAL,
pamProjectRecordingConfigService
}: TPamAccountServiceFactoryDep) => {
// Helper to resolve account parent (resource or domain)
diff --git a/backend/src/server/routes/index.ts b/backend/src/server/routes/index.ts
index 5eefc5f9a1..b92bbf2b7f 100644
--- a/backend/src/server/routes/index.ts
+++ b/backend/src/server/routes/index.ts
@@ -2997,7 +2997,6 @@ export const registerRoutes = async (
resourceMetadataDAL,
pamAccountDependenciesDAL,
keyStore,
- pamProjectRecordingConfigDAL,
pamProjectRecordingConfigService
});