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
fix: use AppConnection enum type instead of string for app property in telemetry events
Devin AI8fdada8e3fb8
diff --git a/backend/src/services/telemetry/telemetry-types.ts b/backend/src/services/telemetry/telemetry-types.tsindex 82fc5250a5..620095cd7b 100644--- a/backend/src/services/telemetry/telemetry-types.ts+++ b/backend/src/services/telemetry/telemetry-types.ts@@ -12,6 +12,7 @@ import {UserActor} from "@app/ee/services/audit-log/audit-log-types";import { EnforcementLevel } from "@app/lib/types";+import { AppConnection } from "@app/services/app-connection/app-connection-enums";export enum PostHogEventTypes {SecretPush = "secrets pushed",@@ -563,7 +564,7 @@ export type TAppConnectionCreatedEvent = {event: PostHogEventTypes.AppConnectionCreated;properties: {appConnectionId: string;- app: string;+ app: AppConnection;method: string;};};@@ -572,7 +573,7 @@ export type TAppConnectionDeletedEvent = {event: PostHogEventTypes.AppConnectionDeleted;properties: {appConnectionId: string;- app: string;+ app: AppConnection;};};