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: add environment and secretPath to SecretRotationV2Deleted and Executed events
Devin AI2ff8945481e4
diff --git a/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-endpoints.ts b/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-endpoints.tsindex eb7560ae97..4ee00b3c15 100644--- a/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-endpoints.ts+++ b/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-endpoints.ts@@ -384,7 +384,9 @@ export const registerSecretRotationEndpoints = <properties: {rotationId,type,- projectId: secretRotation.projectId+ projectId: secretRotation.projectId,+ environment: secretRotation.environment.slug,+ secretPath: secretRotation.folder.path}}).catch(() => {});@@ -488,7 +490,9 @@ export const registerSecretRotationEndpoints = <properties: {rotationId,type,- projectId: secretRotation.projectId+ projectId: secretRotation.projectId,+ environment: secretRotation.environment.slug,+ secretPath: secretRotation.folder.path}}).catch(() => {});diff --git a/backend/src/services/telemetry/telemetry-types.ts b/backend/src/services/telemetry/telemetry-types.tsindex 620095cd7b..1e513641f7 100644--- a/backend/src/services/telemetry/telemetry-types.ts+++ b/backend/src/services/telemetry/telemetry-types.ts@@ -594,6 +594,8 @@ export type TSecretRotationV2DeletedEvent = {rotationId: string;type: string;projectId: string;+ environment: string;+ secretPath: string;};};@@ -603,6 +605,8 @@ export type TSecretRotationV2ExecutedEvent = {rotationId: string;type: string;projectId: string;+ environment: string;+ secretPath: string;};};