Skip to content

[comp] Production Deploy#3117

Merged
tofikwest merged 7 commits into
releasefrom
main
Jun 12, 2026
Merged

[comp] Production Deploy#3117
tofikwest merged 7 commits into
releasefrom
main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 12, 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

Fixes AWS findings that couldn’t be excepted by stamping a stable per-check/resource key and suppressing them correctly. Also regenerates the @trycompai/mcp-server SDK to v0.2.0 with new trust portal and pentest context tools and small API changes.

  • Bug Fixes

    • Stamp findingKey = ${checkId}-${resourceId} in AWS emitters; expose ctx.checkId and use resolveCheckKey in exception resolution and findings list (falls back to run checkId, rejects 'all').
    • Scope stamping to AWS only; add tests.
  • New Features

    • Regenerate @trycompai/mcp-server SDK to v0.2.0: add tools for resolve-session, pentest finding contexts (list/set/delete), and trust portal (list/update custom frameworks, update allowed emails, public frameworks).
    • Change evidence export to POST and update copy to “Trigger bulk evidence export”.
    • Automations create version now posts JSON with version and scriptKey; add account-types enum across findings/controls.

Written for commit bfc8897. Summary will update on new commits.

Review in cubic

github-actions Bot and others added 5 commits June 12, 2026 00:26
* `CompAi.Trust Portal.TrustPortalController_listComplianceResources_v1()`:  `response.[]` **Changed** (Breaking ⚠️)
* `CompAi.Policies.PoliciesController_createPolicyVersion_v1()`: 
  *  `request.body` **Changed** (Breaking ⚠️)
* `CompAi.Trust Portal.TrustPortalController_uploadComplianceResource_v1()`: 
  *  `request` **Changed**
  *  `response` **Changed** (Breaking ⚠️)
* `CompAi.Evidence Export (Auditor).AuditorEvidenceExportController_exportAllEvidence_v1()`:  `response` **Changed** (Breaking ⚠️)
* `CompAi.Security Penetration Tests.PentestFindingContextsController_list_v1()`: **Added**
* `CompAi.Trust Portal.TrustPortalController_getComplianceResourceUrl_v1()`:  `request` **Changed**
* `CompAi.Security Penetration Tests.PentestFindingContextsController_upsert_v1()`: **Added**
* `CompAi.Security Penetration Tests.PentestFindingContextsController_remove_v1()`: **Added**
* `CompAi.Trust Portal.TrustPortalController_listCustomFrameworks_v1()`: **Added**
* `CompAi.Trust Portal.TrustPortalController_updateCustomFramework_v1()`: **Added**
* `CompAi.Trust Access.TrustAccessController_getPublicCustomFrameworks_v1()`: **Added**
* `CompAi.CloudSecurity.CloudSecurityController_resolveSession_v1()`: **Added**
* `CompAi.Trust Portal.TrustPortalController_updateAllowedEmails_v1()`: **Added**
* `CompAi.Findings.FindingsController_listFindings_v1()`: 
  *  `request.evidenceFormType` **Changed**
* `CompAi.Findings.FindingsController_createFinding_v1()`: 
  *  `request.evidenceFormType.enum(account-types)` **Added**
* `CompAi.Controls.ControlsController_create_v1()`: 
  *  `request.documentTypes[].enum(account_types)` **Added**
* `CompAi.Controls.ControlsController_linkDocumentTypes_v1()`: 
  *  `request.body.formTypes[].enum(account_types)` **Added**
* `CompAi.Controls.ControlsController_unlinkDocumentType_v1()`: 
  *  `request.formType` **Changed**
* `CompAi.Security Penetration Tests.SecurityPenetrationTestsController_create_v1()`: 
  *  `request.body.additionalContext` **Added**
…e excepted

AWS integration-platform check findings never carried evidence.findingKey,
which the exception API requires as a stable identity. Every finding from that
pipeline failed with "lacks a stable check/resource identity" when marked as an
exception (customer report: PRIMER, AWS account 619126148487).

- Expose the running check id on CheckContext (set by the runner before run()).
- Stamp findingKey = `${checkId}-${resourceId}` in AWS emitOutcomes so all six
  AWS services get it at one chokepoint, including key-auth connections.
- Add resolveCheckKey() helper; the exception resolver and the findings query
  both fall back to the run's checkId for older rows that predate stamping,
  rejecting the 'all' auto-run sentinel.
- Scope stamping to AWS only — GCP/Azure manifest runs share scanMode:null and
  would otherwise produce false reconciliation "resolved" events.

Tests: +4 emitOutcomes (bun), +4 exception.service (jest).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…gkey

fix(cloud-security): stamp findingKey on AWS checks so findings can be marked as exceptions
@vercel

vercel Bot commented Jun 12, 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 12, 2026 1:35pm
comp-framework-editor (staging) Ready Ready Preview, Comment Jun 12, 2026 1:35pm
portal (staging) Ready Ready Preview, Comment Jun 12, 2026 1:35pm

Request Review

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 3 committers have signed the CLA.

✅ tofikwest
❌ speakeasybot
❌ speakeasy-github[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@claudfuen

Copy link
Copy Markdown
Contributor

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

4 participants