Skip to content

[comp] Production Deploy#3066

Merged
tofikwest merged 4 commits into
releasefrom
main
Jun 9, 2026
Merged

[comp] Production Deploy#3066
tofikwest merged 4 commits into
releasefrom
main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

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.


Summary by cubic

Make AWS check findings clearly show which account they belong to. Each result now includes the 12-digit AWS account ID and, if set, the connection’s name (e.g. “Production AWS”) in both the description and evidence.

  • Bug Fixes
    • Added account attribution in emitOutcomes: stamps awsAccountId from credentials.roleArn and optional awsConnectionName, and appends “(AWS account … — …)” to descriptions.
    • Centralized account parsing in awsAccountIdFromCtx (moved to shared.ts); updated S3 checks to use it.
    • Added tests for account extraction and outcome attribution.

Written for commit 84b63e0. Summary will update on new commits.

Review in cubic

github-actions Bot and others added 4 commits June 8, 2026 23:25
…account

Customer connected 3 AWS accounts; the "S3 — default encryption enabled" check
showed 31 buckets with no indication of which account each belongs to, and it
was unclear how the other accounts are covered. Checks already run per
connection (1 AWS account = 1 connection), so all accounts ARE scanned — but the
account was never surfaced in the findings, so the UI shows a merged, unlabeled
list.

All six AWS checks (s3, cloudtrail, ec2, iam, kms, rds) emit through the shared
emitOutcomes(), so stamp the account there in one place: derive the 12-digit
account id from the connection's roleArn (awsAccountIdFromCtx, moved to shared)
and add it to every finding's evidence (awsAccountId) and visible description
("… (AWS account 123456789012)"). No schema/API/UI/migration needed — the
account now shows per result regardless of how the UI groups them, which also
makes it clear all connected accounts are covered.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ongside the account

Build on the account-attribution stamp: when the customer named the connection
(the "Connection Name" field, e.g. "Production AWS" — stored in credentials and
mirrored to connection.metadata), surface that real label too. The finding
description becomes "… (AWS account 123456789012 — Production AWS)" and evidence
gains awsConnectionName. This is the customer's OWN label — we do not infer
prod/stage from AWS (no reliable signal); falls back to the account id alone
when no name is set.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ibution

fix(integration-platform): attribute AWS check findings to their AWS account (multi-account)
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
app (staging) Ready Ready Preview, Comment Jun 9, 2026 4:14pm
comp-framework-editor (staging) Ready Ready Preview, Comment Jun 9, 2026 4:14pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
portal (staging) Skipped Skipped Jun 9, 2026 4:14pm

Request Review

@tofikwest tofikwest merged commit e46de44 into release Jun 9, 2026
13 checks passed
@claudfuen

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.74.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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants