Skip to content

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

nits

Daniel Hougaard739b4588a39c
diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.ts
index addee794f9..3b39beff80 100644
--- a/backend/src/lib/api-docs/constants.ts
+++ b/backend/src/lib/api-docs/constants.ts
@@ -2850,8 +2850,8 @@ export const SecretSyncs = {
secretGroupName: "The name of the Northflank secret group to sync secrets to."
},
CIRCLECI: {
- projectSlug:
- "The CircleCI project slug to sync secrets to.",
+ orgName: "The CircleCI organization name to sync secrets to.",
+ projectId: "The CircleCI project ID to sync secrets to.",
projectName: "The CircleCI project name to sync secrets to."
}
}
diff --git a/backend/src/services/app-connection/circleci/circleci-connection-fns.ts b/backend/src/services/app-connection/circleci/circleci-connection-fns.ts
index 5d3c26203a..00a3afdd7f 100644
--- a/backend/src/services/app-connection/circleci/circleci-connection-fns.ts
+++ b/backend/src/services/app-connection/circleci/circleci-connection-fns.ts
@@ -46,7 +46,6 @@ export const getCircleCIApiUrl = async (config: {
const apiUrl = `${baseUrl}/api`;
- console.log("apiUrl", apiUrl);
return apiUrl;
};
diff --git a/backend/src/services/secret-sync/circleci/circleci-sync-schemas.ts b/backend/src/services/secret-sync/circleci/circleci-sync-schemas.ts
index fdcc638854..286f2b2bf9 100644
--- a/backend/src/services/secret-sync/circleci/circleci-sync-schemas.ts
+++ b/backend/src/services/secret-sync/circleci/circleci-sync-schemas.ts
@@ -19,11 +19,16 @@ const CircleCISyncDestinationConfigSchema = z.object({
});
const CreateCircleCISyncDestinationConfigSchema = CircleCISyncDestinationConfigSchema.extend({
- orgName: z.string().min(1, "Organization name is required"),
+ orgName: z.string().min(1, "Organization name is required").describe(SecretSyncs.DESTINATION_CONFIG.CIRCLECI.orgName),
projectName: z
.string()
.min(1, "Project name is required")
- .describe(SecretSyncs.DESTINATION_CONFIG.CIRCLECI.projectName)
+ .describe(SecretSyncs.DESTINATION_CONFIG.CIRCLECI.projectName),
+ projectId: z
+ .string()
+ .trim()
+ .min(1, "Project ID is required")
+ .describe(SecretSyncs.DESTINATION_CONFIG.CIRCLECI.projectId)
});
const CircleCISyncOptionsConfig: TSyncOptionsConfig = { canImportSecrets: false };