Skip to content

[CHAIN] feat(ui): add Vercel provider UI and documentation#10191

Open
alejandrobailo wants to merge 3 commits intofeat/vercelfrom
feat/vercel-ui
Open

[CHAIN] feat(ui): add Vercel provider UI and documentation#10191
alejandrobailo wants to merge 3 commits intofeat/vercelfrom
feat/vercel-ui

Conversation

@alejandrobailo
Copy link
Contributor

Chain Info

Key Value
Main PR #10188
Position 3 of 3
Blocked by #10189 (SDK), #10190 (API)
Blocks
feat/vercel (Main PR #10188 → master)
├── ✅ PR #1: feat/vercel-sdk  (#10189)
├── ✅ PR #2: feat/vercel-api  (#10190)
└── ★ PR #3: feat/vercel-ui    ← you are here

Context

With the SDK provider and API layer in place, this PR adds the UI components and documentation needed for users to connect Vercel teams through the Prowler web interface and find help in the docs.

Description

20 files changed, 421 insertions

UI Components (17 files)

  • Provider badge: vercel-provider-badge.tsx — Vercel triangle logo SVG
  • Credentials form: vercel-credentials-form.tsx — API Token + Team ID fields
  • Wizard integration: Updated connect-account-form.tsx, base-credentials-form.tsx, use-credentials-form.ts
  • Type selectors: Updated accounts-selector.tsx, provider-type-selector.tsx, radio-group-provider.tsx
  • Icon mappings: Updated provider-icon-cell.tsx, get-provider-logo.tsx, providers-badge/index.ts
  • Credential logic: Updated build-credentials.ts, provider-credential-fields.ts
  • Types: Updated components.ts, formSchemas.ts, providers.ts
  • Docs link: Updated external-urls.ts — wizard help button links to Vercel docs
  • Validation fix: Simplified superRefinerefine in addCredentialsRoleFormSchema to fix back-navigation validation bug

Documentation (3 files)

  • getting-started-vercel.mdx: Prerequisites, quick start, CLI usage, project filtering, supported services table
  • authentication.mdx: Required permissions, token creation steps, team-scoped tokens, troubleshooting
  • docs.json: Register Vercel docs in navigation under Providers

Steps to Review

  1. Review vercel-credentials-form.tsx — main form component
  2. Review formSchemas.ts — Zod schemas for Vercel fields + refine fix
  3. Review connect-account-form.tsx — wizard step integration
  4. Review build-credentials.ts — how Vercel credentials are packaged for the API
  5. Check external-urls.ts — docs link for the wizard help button
  6. Review documentation pages for accuracy and completeness
  7. Test the full flow: select Vercel → enter token + team ID → connect → scan → view findings

Checklist

  • Vercel appears in provider wizard radio group
  • Credentials form validates API token (required) and team ID
  • Form schemas use z.string().trim().min(1) for required fields
  • Provider badge renders correctly in findings table and overview
  • Docs link in wizard points to correct documentation URL
  • Documentation follows Prowler docs style guide (Mintlify MDX)
  • docs.json navigation updated with Vercel section
  • No secrets or credentials in code

- Add Vercel provider with API token authentication and team-scoped support
- Implement 6 services: authentication, deployment, domain, project, security, team
- Add 30 security checks covering token hygiene, deployment protection, WAF,
  SSL certificates, environment variables, SSO enforcement, and member governance
- Add CheckReportVercel to core SDK models and finding output mapping
- Include 5 compliance frameworks: CIS Controls v8, ISO 27001, NIST 800-53, PCI DSS 4.0, SOC 2
- Add unit tests for provider, mutelist, and representative checks per service
- Add VERCEL to ProviderChoices enum with validate_vercel_uid validator
- Add PostgreSQL enum migration with RunSQL for forward/reverse
- Add Vercel branch to connection test, provider kwargs, and type hints in utils
- Add VercelProviderSecret serializer for API token + team credentials
- Add Vercel provider badge, credentials form, and wizard integration
- Add Vercel to provider type selectors, radio groups, and icon mappings
- Add Vercel credential fields, build logic, and Zod form schemas
- Fix provider wizard validation on back navigation (superRefine → refine)
- Add Vercel docs link to provider wizard help text
- Add Vercel getting started and authentication documentation pages
- Register Vercel docs in navigation config
@alejandrobailo alejandrobailo requested review from a team as code owners February 27, 2026 11:09
@alejandrobailo alejandrobailo self-assigned this Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant