Skip to content

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

add project id to webhook

Thiago Araujo da Silva5b5b9e16060c
diff --git a/backend/src/services/alert/providers/identity-credential-alert-provider.ts b/backend/src/services/alert/providers/identity-credential-alert-provider.ts
index a8fe23025f..05f57b8629 100644
--- a/backend/src/services/alert/providers/identity-credential-alert-provider.ts
+++ b/backend/src/services/alert/providers/identity-credential-alert-provider.ts
@@ -141,6 +141,7 @@ export const identityCredentialAlertProviderFactory = ({
id: alert.id,
name: alert.name,
orgId: alert.orgId,
+ ...(alert.projectId ? { projectId: alert.projectId } : {}),
resourceType: alert.resourceType,
...(alertBefore ? { condition: alertBefore } : {}),
viewUrl