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
apply recommendations from greptile
adilsonbc37a4c58b75
diff --git a/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.ts b/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.tsindex b2148c52d9..1db3255ad1 100644--- a/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.ts+++ b/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.ts@@ -1113,7 +1113,7 @@ export const secretRotationV2ServiceFactory = ({QueueName.SecretWebhook,QueueJobs.SecWebhook,{- type: WebhookEvents.SecretSecretRotationFailed,+ type: WebhookEvents.SecretRotationFailed,payload: {projectId,environment: environment.slug,diff --git a/backend/src/services/webhook/webhook-fns.ts b/backend/src/services/webhook/webhook-fns.tsindex 471ff7ce04..79c68e4200 100644--- a/backend/src/services/webhook/webhook-fns.ts+++ b/backend/src/services/webhook/webhook-fns.ts@@ -105,7 +105,7 @@ export const getWebhookPayload = (event: TWebhookPayloads) => {}}- if (event.type === WebhookEvents.SecretSecretRotationFailed) {+ if (event.type === WebhookEvents.SecretRotationFailed) {const {projectName,projectId,diff --git a/backend/src/services/webhook/webhook-types.ts b/backend/src/services/webhook/webhook-types.tsindex 8d5fba6142..5f838b3d32 100644--- a/backend/src/services/webhook/webhook-types.ts+++ b/backend/src/services/webhook/webhook-types.ts@@ -34,7 +34,7 @@ export enum WebhookType {export enum WebhookEvents {SecretModified = "secrets.modified",SecretReminderExpired = "secrets.reminder-expired",- SecretSecretRotationFailed = "secrets.rotation-failed",+ SecretRotationFailed = "secrets.rotation-failed",TestEvent = "test"}@@ -64,7 +64,7 @@ type TWebhookSecretReminderEventPayload = {};type TWebhookSecretRotationFailedEventPayload = {- type: WebhookEvents.SecretSecretRotationFailed;+ type: WebhookEvents.SecretRotationFailed;payload: {rotationName?: string;