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
feat(telemetry): fixed typo in filename lib/telemetry and capitalized new posthog event names
Akhil Mohan92acb4d94359
diff --git a/backend/src/server/lib/telemtry.ts b/backend/src/server/lib/telemetry.tssimilarity index 100%rename from backend/src/server/lib/telemtry.tsrename to backend/src/server/lib/telemetry.tsdiff --git a/backend/src/server/routes/v1/identity-router.ts b/backend/src/server/routes/v1/identity-router.tsindex adf5bca30c..a03cde62f4 100644--- a/backend/src/server/routes/v1/identity-router.ts+++ b/backend/src/server/routes/v1/identity-router.ts@@ -2,7 +2,7 @@ import { z } from "zod";import { IdentitiesSchema, OrgMembershipRole } from "@app/db/schemas";import { EventType } from "@app/ee/services/audit-log/audit-log-types";-import { getTelemetryDistinctId } from "@app/server/lib/telemtry";+import { getTelemetryDistinctId } from "@app/server/lib/telemetry";import { verifyAuth } from "@app/server/plugins/auth/verify-auth";import { AuthMode } from "@app/services/auth/auth-type";import { PostHogEventTypes } from "@app/services/telemetry/telemetry-types";diff --git a/backend/src/server/routes/v1/integration-router.ts b/backend/src/server/routes/v1/integration-router.tsindex 23d4f41eb6..1ccf75e94f 100644--- a/backend/src/server/routes/v1/integration-router.ts+++ b/backend/src/server/routes/v1/integration-router.ts@@ -3,7 +3,7 @@ import { z } from "zod";import { IntegrationsSchema } from "@app/db/schemas";import { EventType } from "@app/ee/services/audit-log/audit-log-types";import { removeTrailingSlash, shake } from "@app/lib/fn";-import { getTelemetryDistinctId } from "@app/server/lib/telemtry";+import { getTelemetryDistinctId } from "@app/server/lib/telemetry";import { verifyAuth } from "@app/server/plugins/auth/verify-auth";import { AuthMode } from "@app/services/auth/auth-type";import { PostHogEventTypes, TIntegrationCreatedEvent } from "@app/services/telemetry/telemetry-types";diff --git a/backend/src/server/routes/v1/invite-org-router.ts b/backend/src/server/routes/v1/invite-org-router.tsindex 0184c0ea34..dd2fd8157f 100644--- a/backend/src/server/routes/v1/invite-org-router.ts+++ b/backend/src/server/routes/v1/invite-org-router.ts@@ -1,7 +1,7 @@import { z } from "zod";import { UsersSchema } from "@app/db/schemas";-import { getTelemetryDistinctId } from "@app/server/lib/telemtry";+import { getTelemetryDistinctId } from "@app/server/lib/telemetry";import { verifyAuth } from "@app/server/plugins/auth/verify-auth";import { ActorType, AuthMode } from "@app/services/auth/auth-type";import { PostHogEventTypes } from "@app/services/telemetry/telemetry-types";diff --git a/backend/src/server/routes/v2/project-router.ts b/backend/src/server/routes/v2/project-router.tsindex a8ed57a529..62f4c7cf5b 100644--- a/backend/src/server/routes/v2/project-router.ts+++ b/backend/src/server/routes/v2/project-router.ts@@ -4,7 +4,7 @@ import { z } from "zod";import { ProjectKeysSchema, ProjectsSchema } from "@app/db/schemas";import { EventType } from "@app/ee/services/audit-log/audit-log-types";import { authRateLimit } from "@app/server/config/rateLimiter";-import { getTelemetryDistinctId } from "@app/server/lib/telemtry";+import { getTelemetryDistinctId } from "@app/server/lib/telemetry";import { verifyAuth } from "@app/server/plugins/auth/verify-auth";import { AuthMode } from "@app/services/auth/auth-type";import { PostHogEventTypes } from "@app/services/telemetry/telemetry-types";diff --git a/backend/src/services/telemetry/telemetry-types.ts b/backend/src/services/telemetry/telemetry-types.tsindex ada71e6efd..0f92da4da6 100644--- a/backend/src/services/telemetry/telemetry-types.ts+++ b/backend/src/services/telemetry/telemetry-types.ts@@ -9,10 +9,10 @@ export enum PostHogEventTypes {SecretRotated = "secrets rotated",SecretScannerFull = "historical cloud secret scan",SecretScannerPush = "cloud secret scan",- ProjectCreated = "project created",- IntegrationCreated = "integration created",- MachineIdentityCreated = "machine identity created",- UserOrgInvitation = "user org invitation"+ ProjectCreated = "Project Created",+ IntegrationCreated = "Integration Created",+ MachineIdentityCreated = "Machine Identity Created",+ UserOrgInvitation = "User Org Invitation"}export type TSecretModifiedEvent = {