Skip to content

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

chore: cleanup

Daniel Hougaard093efbc699ff
diff --git a/backend/src/ee/services/secret-rotation-v2/dbt-service-token/dbt-service-token-rotation-fns.ts b/backend/src/ee/services/secret-rotation-v2/dbt-service-token/dbt-service-token-rotation-fns.ts
index eaad45ca60..f3bdff752e 100644
--- a/backend/src/ee/services/secret-rotation-v2/dbt-service-token/dbt-service-token-rotation-fns.ts
+++ b/backend/src/ee/services/secret-rotation-v2/dbt-service-token/dbt-service-token-rotation-fns.ts
@@ -12,11 +12,10 @@ import { request } from "@app/lib/config/request";
import { BadRequestError } from "@app/lib/errors";
import { logger } from "@app/lib/logger";
import { alphaNumericNanoId } from "@app/lib/nanoid";
-import { getDbtUrl } from "@app/services/app-connection/dbt";
+import { createDbtError, getDbtUrl } from "@app/services/app-connection/dbt";
import {
TCreateDbtServiceTokenResponse,
- TDbtErrorResponse,
TDbtServiceTokenRotationGeneratedCredentials,
TDbtServiceTokenRotationWithConnection,
TGetDbtServiceTokenResponse
diff --git a/backend/src/services/app-connection/app-connection-maps.ts b/backend/src/services/app-connection/app-connection-maps.ts
index 3e8f006f66..9d4db066db 100644
--- a/backend/src/services/app-connection/app-connection-maps.ts
+++ b/backend/src/services/app-connection/app-connection-maps.ts
@@ -46,7 +46,8 @@ export const APP_CONNECTION_NAME_MAP: Record<AppConnection, string> = {
[AppConnection.Chef]: "Chef",
[AppConnection.Northflank]: "Northflank",
[AppConnection.OctopusDeploy]: "Octopus Deploy",
- [AppConnection.SSH]: "SSH"
+ [AppConnection.SSH]: "SSH",
+ [AppConnection.Dbt]: "DBT"
};
export const APP_CONNECTION_PLAN_MAP: Record<AppConnection, AppConnectionPlanType> = {
@@ -95,5 +96,6 @@ export const APP_CONNECTION_PLAN_MAP: Record<AppConnection, AppConnectionPlanTyp
[AppConnection.Chef]: AppConnectionPlanType.Enterprise,
[AppConnection.Northflank]: AppConnectionPlanType.Regular,
[AppConnection.OctopusDeploy]: AppConnectionPlanType.Regular,
- [AppConnection.SSH]: AppConnectionPlanType.Regular
+ [AppConnection.SSH]: AppConnectionPlanType.Regular,
+ [AppConnection.Dbt]: AppConnectionPlanType.Regular
};