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
remove console.log and add redis to /status api
Maidul Islam4a6fc9e84f39
diff --git a/backend/src/helpers/secrets.ts b/backend/src/helpers/secrets.tsindex e9f6a9c379..17e5c93cef 100644--- a/backend/src/helpers/secrets.ts+++ b/backend/src/helpers/secrets.ts@@ -1062,7 +1062,6 @@ export const expandSecrets = async (Object.keys(secrets).forEach((key) => {if (secrets[key].value.match(INTERPOLATION_SYNTAX_REG)) {- console.log("KEY that matches ====>", key)interpolatedSec[key] = secrets[key].value;} else {expandedSec[key] = secrets[key].value;diff --git a/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts b/backend/src/queues/integrations/syncSecretsToThirdPartyServices.tsindex 7de760cd90..c594aab346 100644--- a/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts+++ b/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts@@ -11,7 +11,7 @@ type TSyncSecretsToThirdPartyServices = {environment?: string}-export const syncSecretsToThirdPartyServices = new Queue('sync-secrets-to-third-party-services', process.env.REDIS_URL as string);+export const syncSecretsToThirdPartyServices = new Queue("sync-secrets-to-third-party-services", process.env.REDIS_URL as string);syncSecretsToThirdPartyServices.process(async (job: Job) => {const { workspaceId, environment }: TSyncSecretsToThirdPartyServices = job.data@@ -57,7 +57,7 @@ syncSecretsToThirdPartyServices.process(async (job: Job) => {})syncSecretsToThirdPartyServices.on("error", (error) => {- console.log("QUEUE ERROR:", error)+ console.log("QUEUE ERROR:", error) // eslint-disable-line})export const syncSecretsToActiveIntegrationsQueue = (jobDetails: TSyncSecretsToThirdPartyServices) => {@@ -65,7 +65,7 @@ export const syncSecretsToActiveIntegrationsQueue = (jobDetails: TSyncSecretsToTattempts: 5,backoff: {type: "exponential",- delay: 1000+ delay: 3000},removeOnComplete: true,removeOnFail: {diff --git a/backend/src/routes/status/status.ts b/backend/src/routes/status/status.tsindex c6038846ec..51dc0e6b76 100644--- a/backend/src/routes/status/status.ts+++ b/backend/src/routes/status/status.ts@@ -1,5 +1,5 @@import express, { Request, Response } from "express";-import { getInviteOnlySignup, getSecretScanningGitAppId, getSecretScanningPrivateKey, getSecretScanningWebhookSecret, getSmtpConfigured } from "../../config";+import { getInviteOnlySignup, getRedisUrl, getSecretScanningGitAppId, getSecretScanningPrivateKey, getSecretScanningWebhookSecret, getSmtpConfigured } from "../../config";const router = express.Router();@@ -11,7 +11,8 @@ router.get(message: "Ok",emailConfigured: await getSmtpConfigured(),secretScanningConfigured: await getSecretScanningGitAppId() && await getSecretScanningWebhookSecret() && await getSecretScanningPrivateKey(),- inviteOnlySignup: await getInviteOnlySignup()+ inviteOnlySignup: await getInviteOnlySignup(),+ redisConfigured: await getRedisUrl() !== "" && await getRedisUrl() !== undefined})});