Skip to content

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

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.ts
index 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;
};
};