-
Notifications
You must be signed in to change notification settings - Fork 241
[comp] Production Deploy #1831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[comp] Production Deploy #1831
Conversation
* feat(api): add AI chat endpoint for policy editing assistance, initial draft for ai policy edits * fix: type error * feat(policy-editor): integrate AI-assisted policy editing with markdown support * refactor(api): streamline POST function and enhance markdown guidelines * refactor(policy-editor): improve policy details layout and diff viewer integration * refactor(policy-editor): simplify policy details component and enhance AI assistant integration * refactor(policy-editor): remove unused AI assistant logic and simplify component structure * feat(ui): add new components to package.json for diff viewer and AI elements * chore: update lockfile * refactor(tsconfig): reorganize compiler options and update paths --------- Co-authored-by: Daniel Fu <itsnotaka@gmail.com> Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
🔒 Comp AI - Security Review🔴 Risk Level: HIGHOSV scan found 2 HIGH CVEs in xlsx@0.18.5 and 1 LOW CVE in ai@5.0.0; multiple code locations show unvalidated DB inputs (SQL injection risk) for policyId/orgId params. 📦 Dependency Vulnerabilities🟠 NPM Packages (HIGH)Risk Score: 8/10 | Summary: 2 high, 1 low CVEs found
🛡️ Code Security AnalysisView 14 file(s) with issues🟡 apps/api/src/policies/dto/ai-suggest-policy.dto.ts (MEDIUM Risk)
Recommendations:
🔴 apps/api/src/policies/policies.controller.ts (HIGH Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/policies/[policyId]/editor/components/PolicyDetails.tsx (MEDIUM Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/policies/[policyId]/editor/components/ai/policy-ai-assistant.tsx (MEDIUM Risk)
Recommendations:
🔴 apps/app/src/app/(app)/[orgId]/risk/(overview)/actions/get-risks-action.ts (HIGH Risk)
Recommendations:
🔴 apps/app/src/app/(app)/[orgId]/risk/(overview)/data/getRisks.ts (HIGH Risk)
Recommendations:
🔴 apps/app/src/app/(app)/[orgId]/risk/(overview)/page.tsx (HIGH Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/vendors/(overview)/actions/get-vendors-action.ts (MEDIUM Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/vendors/(overview)/components/VendorsTable.tsx (MEDIUM Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/vendors/(overview)/page.tsx (MEDIUM Risk)
Recommendations:
🔴 apps/app/src/app/api/policies/[policyId]/chat/route.ts (HIGH Risk)
Recommendations:
🟡 apps/portal/src/hooks/use-update-policy.ts (MEDIUM Risk)
Recommendations:
🟡 packages/docs/openapi.json (MEDIUM Risk)
Recommendations:
🔴 packages/ui/src/components/ai-elements/message.tsx (HIGH Risk)
Recommendations:
💡 RecommendationsView 3 recommendation(s)
Powered by Comp AI - AI that handles compliance for you. Reviewed Nov 25, 2025 |
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
|
|
* refactor(risk): update getRisks and getAssignees functions to accept orgId * chore(policy-editor): gate policy ai assistant behind feature flag --------- Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
|
🎉 This PR is included in version 1.64.1 🎉 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.