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
add filter for secret pull events
Vladyslav Matsiiako33017b50f044
diff --git a/backend/src/helpers/secrets.ts b/backend/src/helpers/secrets.tsindex 1d7e68e491..533dd84612 100644--- a/backend/src/helpers/secrets.ts+++ b/backend/src/helpers/secrets.ts@@ -574,18 +574,20 @@ export const getSecretsHelper = async ({const approximateForNoneCapturedEvents = secrets.length * 10;if (shouldCapture) {- postHogClient.capture({- event: "secrets pulled",- distinctId: await TelemetryService.getDistinctId({ authData }),- properties: {- numberOfSecrets: shouldRecordK8Event ? approximateForNoneCapturedEvents : secrets.length,- environment,- workspaceId,- folderId,- channel: authData.userAgentType,- userAgent: authData.userAgent- }- });+ if (workspaceId.toString() != "650e71fbae3e6c8572f436d4") {+ postHogClient.capture({+ event: "secrets pulled",+ distinctId: await TelemetryService.getDistinctId({ authData }),+ properties: {+ numberOfSecrets: shouldRecordK8Event ? approximateForNoneCapturedEvents : secrets.length,+ environment,+ workspaceId,+ folderId,+ channel: authData.userAgentType,+ userAgent: authData.userAgent+ }+ });+ }}}