Skip to content

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

Merge branch 'main' into daniel/stripe-whitelisting

varonixea60a649cceb
diff --cc backend/src/services/app-connection/app-connection-fns.ts
index c7fb7ff12e,3a8e21fcbe..30244eceee
--- a/backend/src/services/app-connection/app-connection-fns.ts
+++ b/backend/src/services/app-connection/app-connection-fns.ts
@@@ -438,28 -468,15 +467,7 @@@ export const listAppConnectionOptions
getDaytonaConnectionListItem(),
getStripeConnectionListItem()
]
-- .filter((option) => {
- switch (projectType) {
- case ProjectType.SecretManager:
- return (
- Boolean(SECRET_SYNC_APP_CONNECTION_MAP[option.app]) ||
- Boolean(SECRET_ROTATION_APP_CONNECTION_MAP[option.app]) ||
- EXTERNAL_MIGRATION_APP_CONNECTIONS.includes(option.app)
- );
- case ProjectType.SecretScanning:
- return Boolean(SECRET_SCANNING_APP_CONNECTION_MAP[option.app]);
- case ProjectType.CertificateManager:
- return PKI_APP_CONNECTIONS.includes(option.app);
- case ProjectType.KMS:
- return false;
- case ProjectType.PAM:
- return false;
- case ProjectType.AgentVault:
- if (option.app === AppConnection.Stripe) {
- if (!getConfig().WHITELISTED_STRIPE_APP_CONNECTION_ORG_IDS?.includes(orgId)) {
-- return false;
- default:
- return true;
- }
-- }
-
- return isAppConnectionAllowedInProject(option.app, projectType);
-- })
++ .filter((option) => isAppConnectionAllowedInProject(option.app, projectType))
.sort((a, b) => a.name.localeCompare(b.name));
};