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
Merge branch 'main' into chore/remove-bull-mq-redis-prsistent
Victor Hugo dos Santose6dc6e61ef74
diff --cc backend/package-lock.jsonindex 0ecc6775d4,0781217660..c4a14b22d0--- a/backend/package-lock.json+++ b/backend/package-lock.json@@@ -1779,39 -1833,58 +1832,57 @@@"tslib": "^2.6.2"},"engines": {- "node": ">=20.0.0"- }- },- "node_modules/@aws-sdk/client-acm/node_modules/@aws-sdk/credential-provider-process": {- "version": "3.972.22",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.22.tgz",- "integrity": "sha512-Os32s8/4gTZjBk5BtoS/cuTILaj+K72d0dVG7TCJX/fC4598cxwLDmf1AEHEpER5oL3K//yETjvFaz0V8oO5Xw==",- "license": "Apache-2.0",- "dependencies": {- "@aws-sdk/core": "^3.973.24",- "@aws-sdk/types": "^3.973.6",- "@smithy/property-provider": "^4.2.12",- "@smithy/shared-ini-file-loader": "^4.4.7",- "@smithy/types": "^4.13.1",- "tslib": "^2.6.2"+ "node": ">=16.0.0"},- "engines": {- "node": ">=20.0.0"+ "peerDependencies": {+ "@aws-sdk/client-sts": "^3.637.0"}},- "node_modules/@aws-sdk/client-acm/node_modules/@aws-sdk/credential-provider-sso": {- "version": "3.972.24",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.972.24.tgz",- "integrity": "sha512-PaFv7snEfypU2yXkpvfyWgddEbDLtgVe51wdZlinhc2doubBjUzJZZpgwuF2Jenl1FBydMhNpMjD6SBUM3qdSA==",+ "node_modules/@aws-sdk/client-elasticache/node_modules/@aws-sdk/client-sts": {+ "version": "3.637.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.637.0.tgz",+ "integrity": "sha512-xUi7x4qDubtA8QREtlblPuAcn91GS/09YVEY/RwU7xCY0aqGuFwgszAANlha4OUIqva8oVj2WO4gJuG+iaSnhw==","license": "Apache-2.0",- "peer": true,"dependencies": {- "@aws-sdk/core": "^3.973.24",- "@aws-sdk/nested-clients": "^3.996.14",- "@aws-sdk/token-providers": "3.1015.0",- "@aws-sdk/types": "^3.973.6",- "@smithy/property-provider": "^4.2.12",- "@smithy/shared-ini-file-loader": "^4.4.7",- "@smithy/types": "^4.13.1",+ "@aws-crypto/sha256-browser": "5.2.0",+ "@aws-crypto/sha256-js": "5.2.0",+ "@aws-sdk/client-sso-oidc": "3.637.0",+ "@aws-sdk/core": "3.635.0",+ "@aws-sdk/credential-provider-node": "3.637.0",+ "@aws-sdk/middleware-host-header": "3.620.0",+ "@aws-sdk/middleware-logger": "3.609.0",+ "@aws-sdk/middleware-recursion-detection": "3.620.0",+ "@aws-sdk/middleware-user-agent": "3.637.0",+ "@aws-sdk/region-config-resolver": "3.614.0",+ "@aws-sdk/types": "3.609.0",+ "@aws-sdk/util-endpoints": "3.637.0",+ "@aws-sdk/util-user-agent-browser": "3.609.0",+ "@aws-sdk/util-user-agent-node": "3.614.0",+ "@smithy/config-resolver": "^3.0.5",+ "@smithy/core": "^2.4.0",+ "@smithy/fetch-http-handler": "^3.2.4",+ "@smithy/hash-node": "^3.0.3",+ "@smithy/invalid-dependency": "^3.0.3",+ "@smithy/middleware-content-length": "^3.0.5",+ "@smithy/middleware-endpoint": "^3.1.0",+ "@smithy/middleware-retry": "^3.0.15",+ "@smithy/middleware-serde": "^3.0.3",+ "@smithy/middleware-stack": "^3.0.3",+ "@smithy/node-config-provider": "^3.1.4",+ "@smithy/node-http-handler": "^3.1.4",+ "@smithy/protocol-http": "^4.1.0",+ "@smithy/smithy-client": "^3.2.0",+ "@smithy/types": "^3.3.0",+ "@smithy/url-parser": "^3.0.3",+ "@smithy/util-base64": "^3.0.0",+ "@smithy/util-body-length-browser": "^3.0.0",+ "@smithy/util-body-length-node": "^3.0.0",+ "@smithy/util-defaults-mode-browser": "^3.0.15",+ "@smithy/util-defaults-mode-node": "^3.0.15",+ "@smithy/util-endpoints": "^2.0.5",+ "@smithy/util-middleware": "^3.0.3",+ "@smithy/util-retry": "^3.0.3",+ "@smithy/util-utf8": "^3.0.0","tslib": "^2.6.2"},"engines": {diff --cc backend/src/server/routes/index.tsindex 86c72aaab7,62c1f40bc5..100e452622--- a/backend/src/server/routes/index.ts+++ b/backend/src/server/routes/index.ts@@@ -2135,7 -2144,9 +2142,8 @@@ export const registerRoutes = asynckeyValueStoreDAL,approvalRequestDAL,approvalRequestGrantsDAL,- certificateRequestDAL+ certificateRequestDAL,- scepTransactionDAL,- queueJobsDAL++ scepTransactionDAL});const healthAlert = healthAlertServiceFactory({diff --cc backend/src/services/resource-cleanup/resource-cleanup-queue.tsindex 99c72b8a26,3bc04bac64..1ae86f38fe--- a/backend/src/services/resource-cleanup/resource-cleanup-queue.ts+++ b/backend/src/services/resource-cleanup/resource-cleanup-queue.ts@@@ -36,6 -38,8 +37,7 @@@ type TDailyResourceCleanUpQueueServiceFapprovalRequestDAL: Pick<TApprovalRequestDALFactory, "markExpiredRequests">;approvalRequestGrantsDAL: Pick<TApprovalRequestGrantsDALFactory, "markExpiredGrants">;certificateRequestDAL: Pick<TCertificateRequestDALFactory, "markExpiredApprovalRequests">;+ scepTransactionDAL: Pick<TScepTransactionDALFactory, "pruneExpiredTransactions">;- queueJobsDAL: Pick<TQueueJobsDALFactory, "pruneQueueJobs">;};export type TDailyResourceCleanUpQueueServiceFactory = ReturnType<typeof dailyResourceCleanUpQueueServiceFactory>;@@@ -57,7 -61,9 +59,8 @@@ export const dailyResourceCleanUpQueueSkeyValueStoreDAL,approvalRequestDAL,approvalRequestGrantsDAL,- certificateRequestDAL+ certificateRequestDAL,+ scepTransactionDAL,- queueJobsDAL}: TDailyResourceCleanUpQueueServiceFactoryDep) => {const appCfg = getConfig();@@@ -86,6 -92,8 +89,7 @@@await auditLogDAL.pruneAuditLog();await userNotificationDAL.pruneNotifications();await keyValueStoreDAL.pruneExpiredKeys();- await queueJobsDAL.pruneQueueJobs();+ await scepTransactionDAL.pruneExpiredTransactions();const expiredApprovalRequestIds = await approvalRequestDAL.markExpiredRequests();if (expiredApprovalRequestIds.length > 0) {await certificateRequestDAL.markExpiredApprovalRequests(expiredApprovalRequestIds);