Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 9, 2025

This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.

* feat: working version of integrations framework

* feat: make integrations more robust

* feat(google-workspace): add integration manifest and checks for Google Workspace

* feat(integration-platform): add custom settings to OAuth app and platform credential models

* feat(integration-platform): add Google Workspace sync functionality and update integration manifest

* feat(integration-platform): add scheduled task for syncing employees from integrations

* feat(integration-platform): add AWS SDK clients and update integration manifest

* refactor(integration-platform): integrate AWS Security Hub and update cloud tests

* feat(integration-platform): add Rippling integration for employee sync and update manifest

* feat(integration-platform): implement employee sync provider management and update related APIs

* feat(integration-platform): add employee access review check for Google Workspace

* feat(gcp): add GCP integration with IAM access and monitoring checks

* feat(gcp): add GCP integration with IAM access and monitoring checks

* feat: working version of integrations framework

* feat: make integrations more robust

* feat(google-workspace): add integration manifest and checks for Google Workspace

* feat(integration-platform): add custom settings to OAuth app and platform credential models

* feat(integration-platform): add Google Workspace sync functionality and update integration manifest

* feat(integration-platform): add scheduled task for syncing employees from integrations

* feat(integration-platform): add AWS SDK clients and update integration manifest

* refactor(integration-platform): integrate AWS Security Hub and update cloud tests

* feat(integration-platform): add Rippling integration for employee sync and update manifest

* feat(integration-platform): implement employee sync provider management and update related APIs

* feat(integration-platform): add employee access review check for Google Workspace

* chore: remove deprecated vector tasks and update openapi.json

* feat(integration-platform): add Azure integration with credential management and checks

* feat(integrations): unify integrations list and add task card component

* feat(integration-platform): add auto-check runner service and related tasks

* feat(integration-platform): implement GCP OAuth integration with credential management and checks

* feat(integrations): add combobox support for credential fields and update AWS region type

* refactor(db): fix integrations order

* feat(integration-platform): add validation for API key and basic auth credentials in checks

* refactor(api): add throttling and security headers with helmet integration

* chore(cloud-security): add cloud security module with scanning capabilities

* chore(dependencies): update next and react versions to 16.0.8 and 19.2.1

* refactor(proxy): add proxy function with request matcher configuration

* chore(dependencies): update react and next versions to 19.1.1 and 16.0.8

* refactor(people): allow selectedProvider to be undefined and simplify date handling

* chore(dependencies): update @ai-sdk/openai and ai package versions

* refactor(onboarding): remove redundant mode parameter from generateObject calls

* refactor(api): update content security policy for improved security

---------

Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
@vercel
Copy link

vercel bot commented Dec 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
app (staging) Ready Ready Preview Comment Dec 12, 2025 0:15am
portal (staging) Ready Ready Preview Comment Dec 12, 2025 0:15am

@cursor
Copy link

cursor bot commented Dec 9, 2025

PR Summary

Adds a full integration platform (schemas, API, manifests, runtime) with OAuth/admin flows and docs; updates Prisma/tooling, exposes org primaryColor, and tweaks UI badges/styles.

  • Integrations Platform (new package packages/integration-platform):
    • Runtime, registry, validators, and type-safe APIs (src/runtime, src/registry, src/types).
    • Provider manifests and checks for github, google-workspace, aws, azure, gcp, rippling, vercel.
    • Task mapping generator and API response types.
  • Database (Prisma):
    • New models/tables: IntegrationProvider, IntegrationConnection, IntegrationCredentialVersion, IntegrationRun, IntegrationPlatformFinding, IntegrationOAuthState, IntegrationOAuthApp, IntegrationPlatformCredential, IntegrationCheckRun, IntegrationCheckResult (+ indexes/FKs).
    • Schema updates: User.isPlatformAdmin, Organization.employeeSyncProvider, Organization.primaryColor, Questionnaire.source.
    • Config/seeding: enable earlyAccess, set migrate URL, seed/client use DATABASE_URL; add db:migrate:reset.
  • API (OpenAPI + endpoints):
    • Extensive new routes under /v1/integrations/* for OAuth (availability/start/callback), providers, connections (CRUD/pause/resume/test), checks (list/run), variables (CRUD/options), webhooks, sync (Google Workspace/Rippling, employee sync provider), and cloud security scan.
    • New GET /v1/organization/primary-color and related schema changes; export generator note update.
  • Docs:
    • New Integrations tab with guides: platform overview, writing integrations, authentication, variables, contributing, self-hosting OAuth.
  • Tooling:
    • Add root db:generate and Turbo db:generate task.
  • UI:
    • Badge variants (warning, success) and CSS theme vars for warning colors.

Written by Cursor Bugbot for commit 8d2a811. This will update automatically on new commits. Configure here.

@CLAassistant
Copy link

CLAassistant commented Dec 9, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ Marfuen
❌ github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@graphite-app graphite-app bot requested a review from Marfuen December 9, 2025 21:10
.substring(0, 100); // Truncate for readability

lines.push(` '${task.id}': {`);
lines.push(` name: '${task.name.replace(/'/g, "\\'")}',`);

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding High

This does not escape backslash characters in the input.

Copilot Autofix

AI about 1 month ago

To fix the problem, we must ensure that all backslashes in task.name are escaped, followed by escaping single quotes. This is because single-quoted JavaScript/TypeScript string literals require backslashes and single quotes within them to be properly escaped (\' and \\). The best way is to process the string with .replace(/\\/g, "\\\\") before .replace(/'/g, "\\'").

Alternatively, we could use a well-tested library (e.g., js-string-escape) for robust escaping, but per instructions to minimize dependencies and only use well-known packages if necessary, and to edit only the shown code, we should perform the sequential replacements.

Edit only line 99 to sequentially escape backslashes then single quotes.

Suggested changeset 1
packages/integration-platform/scripts/generate-task-types.ts

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/packages/integration-platform/scripts/generate-task-types.ts b/packages/integration-platform/scripts/generate-task-types.ts
--- a/packages/integration-platform/scripts/generate-task-types.ts
+++ b/packages/integration-platform/scripts/generate-task-types.ts
@@ -96,7 +96,7 @@
       .substring(0, 100); // Truncate for readability
 
     lines.push(`  '${task.id}': {`);
-    lines.push(`    name: '${task.name.replace(/'/g, "\\'")}',`);
+    lines.push(`    name: '${task.name.replace(/\\/g, '\\\\').replace(/'/g, "\\'")}',`);
     lines.push(`    description: \`${escapedDesc}...\`,`);
     lines.push(`    department: '${task.department}',`);
     lines.push(`    frequency: '${task.frequency}',`);
EOF
@@ -96,7 +96,7 @@
.substring(0, 100); // Truncate for readability

lines.push(` '${task.id}': {`);
lines.push(` name: '${task.name.replace(/'/g, "\\'")}',`);
lines.push(` name: '${task.name.replace(/\\/g, '\\\\').replace(/'/g, "\\'")}',`);
lines.push(` description: \`${escapedDesc}...\`,`);
lines.push(` department: '${task.department}',`);
lines.push(` frequency: '${task.frequency}',`);
Copilot is powered by AI and may make mistakes. Always verify output.
@graphite-app
Copy link

graphite-app bot commented Dec 9, 2025

Graphite Automations

"Auto-assign PRs to Author" took an action on this PR • (12/09/25)

1 reviewer was added to this PR based on Mariano Fuentes's automation.

* feat: working version of integrations framework

* feat: make integrations more robust

* feat(google-workspace): add integration manifest and checks for Google Workspace

* feat(integration-platform): add custom settings to OAuth app and platform credential models

* feat(integration-platform): add Google Workspace sync functionality and update integration manifest

* feat(integration-platform): add scheduled task for syncing employees from integrations

* feat(integration-platform): add AWS SDK clients and update integration manifest

* refactor(integration-platform): integrate AWS Security Hub and update cloud tests

* feat(integration-platform): add Rippling integration for employee sync and update manifest

* feat(integration-platform): implement employee sync provider management and update related APIs

* feat(integration-platform): add employee access review check for Google Workspace

* feat(gcp): add GCP integration with IAM access and monitoring checks

* feat(gcp): add GCP integration with IAM access and monitoring checks

* feat: working version of integrations framework

* feat: make integrations more robust

* feat(google-workspace): add integration manifest and checks for Google Workspace

* feat(integration-platform): add custom settings to OAuth app and platform credential models

* feat(integration-platform): add Google Workspace sync functionality and update integration manifest

* feat(integration-platform): add scheduled task for syncing employees from integrations

* feat(integration-platform): add AWS SDK clients and update integration manifest

* refactor(integration-platform): integrate AWS Security Hub and update cloud tests

* feat(integration-platform): add Rippling integration for employee sync and update manifest

* feat(integration-platform): implement employee sync provider management and update related APIs

* feat(integration-platform): add employee access review check for Google Workspace

* chore: remove deprecated vector tasks and update openapi.json

* feat(integration-platform): add Azure integration with credential management and checks

* feat(integrations): unify integrations list and add task card component

* feat(integration-platform): add auto-check runner service and related tasks

* feat(integration-platform): implement GCP OAuth integration with credential management and checks

* feat(integrations): add combobox support for credential fields and update AWS region type

* refactor(db): fix integrations order

* feat(integration-platform): add validation for API key and basic auth credentials in checks

* refactor(api): add throttling and security headers with helmet integration

* chore(cloud-security): add cloud security module with scanning capabilities

* chore(dependencies): update next and react versions to 16.0.8 and 19.2.1

* refactor(proxy): add proxy function with request matcher configuration

* chore(dependencies): update react and next versions to 19.1.1 and 16.0.8

* refactor(people): allow selectedProvider to be undefined and simplify date handling

* chore(dependencies): update @ai-sdk/openai and ai package versions

* refactor(onboarding): remove redundant mode parameter from generateObject calls

* refactor(api): update content security policy for improved security

* chore(api): build integration-platform package and update docker build process
@vercel vercel bot temporarily deployed to staging – portal December 9, 2025 21:26 Inactive
@vercel vercel bot temporarily deployed to staging – app December 9, 2025 21:26 Inactive
* refactor(api): remove redundant mode parameter from content extractor
@vercel vercel bot temporarily deployed to staging – portal December 9, 2025 21:30 Inactive
@vercel vercel bot temporarily deployed to staging – app December 9, 2025 21:30 Inactive
* chore(api): modify package.json to remove workspace dependencies
@vercel vercel bot temporarily deployed to staging – portal December 9, 2025 21:35 Inactive
@vercel vercel bot temporarily deployed to staging – app December 9, 2025 21:35 Inactive
* feat: working version of integrations framework

* feat: make integrations more robust

* feat(google-workspace): add integration manifest and checks for Google Workspace

* feat(integration-platform): add custom settings to OAuth app and platform credential models

* feat(integration-platform): add Google Workspace sync functionality and update integration manifest

* feat(integration-platform): add scheduled task for syncing employees from integrations

* feat(integration-platform): add AWS SDK clients and update integration manifest

* refactor(integration-platform): integrate AWS Security Hub and update cloud tests

* feat(integration-platform): add Rippling integration for employee sync and update manifest

* feat(integration-platform): implement employee sync provider management and update related APIs

* feat(integration-platform): add employee access review check for Google Workspace

* feat(gcp): add GCP integration with IAM access and monitoring checks

* feat(gcp): add GCP integration with IAM access and monitoring checks

* feat: working version of integrations framework

* feat: make integrations more robust

* feat(google-workspace): add integration manifest and checks for Google Workspace

* feat(integration-platform): add custom settings to OAuth app and platform credential models

* feat(integration-platform): add Google Workspace sync functionality and update integration manifest

* feat(integration-platform): add scheduled task for syncing employees from integrations

* feat(integration-platform): add AWS SDK clients and update integration manifest

* refactor(integration-platform): integrate AWS Security Hub and update cloud tests

* feat(integration-platform): add Rippling integration for employee sync and update manifest

* feat(integration-platform): implement employee sync provider management and update related APIs

* feat(integration-platform): add employee access review check for Google Workspace

* chore: remove deprecated vector tasks and update openapi.json

* feat(integration-platform): add Azure integration with credential management and checks

* feat(integrations): unify integrations list and add task card component

* feat(integration-platform): add auto-check runner service and related tasks

* feat(integration-platform): implement GCP OAuth integration with credential management and checks

* feat(integrations): add combobox support for credential fields and update AWS region type

* refactor(db): fix integrations order

* feat(integration-platform): add validation for API key and basic auth credentials in checks

* refactor(api): add throttling and security headers with helmet integration

* chore(cloud-security): add cloud security module with scanning capabilities

* chore(dependencies): update next and react versions to 16.0.8 and 19.2.1

* refactor(proxy): add proxy function with request matcher configuration

* chore(dependencies): update react and next versions to 19.1.1 and 16.0.8

* refactor(people): allow selectedProvider to be undefined and simplify date handling

* chore(dependencies): update @ai-sdk/openai and ai package versions

* refactor(onboarding): remove redundant mode parameter from generateObject calls

* refactor(api): update content security policy for improved security

* chore(api): build integration-platform package and update docker build process

* refactor(api): remove redundant mode parameter from content extractor

* chore(api): modify package.json to remove workspace dependencies

---------

Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
@vercel vercel bot temporarily deployed to staging – app December 9, 2025 21:35 Inactive
@vercel vercel bot temporarily deployed to staging – portal December 9, 2025 21:35 Inactive
* chore(api): add @aws-sdk/client-sts dependency and update related configurations
* refactor(api): update Dockerfile and buildspec to streamline node_modules handling
@vercel vercel bot temporarily deployed to staging – portal December 9, 2025 21:54 Inactive
@vercel vercel bot temporarily deployed to staging – app December 9, 2025 21:54 Inactive
* refactor(api): enhance variable handling in VariablesController
* refactor(api): improve handling of required variables in connections and auto-check services
* refactor(integration): add support for additional OAuth settings in integrations
…1905)

Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
* feat(organization): add primary color field, update ui, set up trust portal settings

* fix(questionnaire): adjust minimum width for answered questions display

* fix(questionnaire): update minimum width class for questionnaire history

* feat(questionnaire): add animations to results cards, header, and table in security questionnaire

* chore(db): update version to 1.3.19 in package.json

---------

Co-authored-by: Tofik Hasanov <annexcies@gmail.com>
Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
@vercel vercel bot temporarily deployed to staging – portal December 12, 2025 00:01 Inactive
@vercel vercel bot temporarily deployed to staging – app December 12, 2025 00:01 Inactive
@vercel vercel bot temporarily deployed to staging – portal December 12, 2025 00:15 Inactive
@vercel vercel bot temporarily deployed to staging – app December 12, 2025 00:15 Inactive
@Marfuen Marfuen merged commit 31628ca into release Dec 12, 2025
12 of 14 checks passed
@claudfuen
Copy link
Contributor

🎉 This PR is included in version 1.70.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants