Skip to content

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

remove certain python sdk events

Vladyslav Matsiiako38ed39c2f86b
diff --git a/backend/src/server/routes/v3/secret-router.ts b/backend/src/server/routes/v3/secret-router.ts
index 5c5890a6b3..c07a717a35 100644
--- a/backend/src/server/routes/v3/secret-router.ts
+++ b/backend/src/server/routes/v3/secret-router.ts
@@ -479,7 +479,7 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
}
}
- const shouldCapture = req.headers["user-agent"] !== "k8-operator" || shouldRecordK8Event;
+ const shouldCapture = (req.query.workspaceId != "650e71fbae3e6c8572f436d4") && (req.headers["user-agent"] !== "k8-operator" || shouldRecordK8Event);
const approximateNumberTotalSecrets = secrets.length * 20;
if (shouldCapture) {
server.services.telemetry.sendPostHogEvents({