Conversation
* 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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryAdds 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.
Written by Cursor Bugbot for commit 8d2a811. This will update automatically on new commits. Configure here. |
|
|
| .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
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 2 months 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.
| @@ -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}',`); |
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
* refactor(api): remove redundant mode parameter from content extractor
* chore(api): modify package.json to remove workspace dependencies
* 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>
* chore(api): add @aws-sdk/client-sts dependency and update related configurations
* refactor(api): update Dockerfile and buildspec to streamline node_modules handling
* 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>
Co-authored-by: Tofik Hasanov <annexcies@gmail.com>
|
🎉 This PR is included in version 1.70.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.