Skip to content

fix(cloud-tests): scope to aws/gcp/azure and remove hardcoded copy#2730

Merged
tofikwest merged 1 commit intomainfrom
tofik/cloud-tests-slug-filter
May 1, 2026
Merged

fix(cloud-tests): scope to aws/gcp/azure and remove hardcoded copy#2730
tofikwest merged 1 commit intomainfrom
tofik/cloud-tests-slug-filter

Conversation

@tofikwest
Copy link
Copy Markdown
Contributor

Summary

  • Cloud Tests page previously included any integration with manifest category: 'Cloud', which leaked Vercel into the providers list and findings. Filter by an explicit slug allowlist (aws, gcp, azure) in the API service so only real cloud providers are returned.
  • Remove two hardcoded copy blocks ("This integration is used exclusively for Cloud Security Tests" / "...will only be used for Cloud Security Tests...") that were gated on the same broken category check and incorrectly appeared on Vercel as well.

Files changed

  • apps/api/src/cloud-security/cloud-security-query.service.ts — replace category: 'Cloud' filter with slug IN ('aws','gcp','azure') for both new-platform connections and legacy integrations, in both providers and findings queries.
  • apps/app/src/app/(app)/[orgId]/integrations/components/PlatformIntegrations.tsx — remove the italic "exclusively for Cloud Security Tests" line on integration cards.
  • apps/app/src/components/integrations/ConnectIntegrationDialog.tsx — remove the same notice from the connect dialog.

Test plan

  • Cloud Tests page shows only AWS, GCP, Azure provider tiles.
  • Cloud Tests findings list shows only findings from those three providers (no Vercel).
  • Vercel still appears on the main Integrations page (under Cloud category) and connects normally.
  • Integration cards no longer display the "exclusively for Cloud Security Tests" subtitle.
  • Connect dialog for AWS/GCP/Azure no longer shows the "credentials are encrypted..." notice.
  • Existing AWS/GCP/Azure connections continue to surface providers and findings as before.

🤖 Generated with Claude Code

Cloud Tests previously surfaced any integration with category 'Cloud',
which incorrectly included Vercel. Filter the providers and findings
queries by an explicit slug allowlist (aws, gcp, azure) so the page
reflects what users actually expect.

Also remove two hardcoded "exclusively for Cloud Security Tests"
strings on the Integrations page and Connect dialog — they were gated
on the same broken category check and showed up for Vercel too.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 1, 2026

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

Project Deployment Actions Updated (UTC)
app Ready Ready Preview, Comment May 1, 2026 2:04pm
comp-framework-editor Ready Ready Preview, Comment May 1, 2026 2:04pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
portal Skipped Skipped May 1, 2026 2:04pm

Request Review

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Requires human review: Modifies core backend query logic by hardcoding provider slugs and removes UI security notices; requires human review to ensure alignment with product roadmap and security messaging.

@tofikwest tofikwest merged commit d5311a3 into main May 1, 2026
11 checks passed
@tofikwest tofikwest deleted the tofik/cloud-tests-slug-filter branch May 1, 2026 14:08
@claudfuen
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.40.1 🎉

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants