Skip to content

[comp] Production Deploy#3177

Merged
tofikwest merged 6 commits into
releasefrom
main
Jun 17, 2026
Merged

[comp] Production Deploy#3177
tofikwest merged 6 commits into
releasefrom
main

Conversation

@github-actions

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

Add GCP Monitoring & Alerting and Encryption at Rest checks so GCP now appears on those tasks and records clear evidence across projects, buckets, and Cloud SQL instances.

  • New Features
    • Added gcp-cloud-monitoring-alerting (→ monitoringAlerting): passes when a project has an enabled alert policy with a notification channel and a sink exporting to a durable destination (BigQuery, Cloud Storage, Pub/Sub, or a non-default Cloud Logging bucket); default _Default/_Required sinks and custom sinks targeting _Default don’t count; skips if APIs are disabled; read errors produce “could not verify” findings.
    • Added gcp-storage-encryption and gcp-cloud-sql-encryption (→ encryptionAtRest): always encrypted by default; record key type (Google-managed vs CMEK) per bucket/instance; only read errors create findings; skip when APIs are disabled.
    • Registered the checks in the GCP manifest so they run in all paths; added tests including durable-destination validation, permission errors, and API-disabled cases.

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

Review in cubic

github-actions Bot and others added 3 commits June 17, 2026 17:00
…est checks

GCP was absent from the Monitoring & Alerting and Encryption at Rest evidence
tasks while AWS and Azure appeared, because an integration only shows on a task
when one of its checks declares a matching taskMapping — and GCP shipped no
checks for those templates (it covered only 4 of the templates AWS/Azure cover).

Add three GCP checks, reusing the existing GCP check runtime
(resolveGcpProjectIds, gcpListItems, ctx.fetch, isGcpApiDisabled):

- gcp-cloud-monitoring-alerting (→ monitoringAlerting): two prongs per project,
  mirroring the Azure Monitor check — an enabled alert policy wired to a
  notification channel, and a configured log-export sink beyond the managed
  _Default/_Required sinks. An unreadable prong fails "could not verify" rather
  than silently passing.
- gcp-storage-encryption / gcp-cloud-sql-encryption (→ encryptionAtRest): GCP
  always encrypts at rest (Google-managed AES-256, non-disableable), so these
  pass each resource and record the key type (Google-managed vs CMEK), matching
  the intent of the AWS default-encryption checks. Only read failures emit a
  finding.

Both run identically on the manual run-check path and the scheduled orchestrator:
GCP is a static manifest (getManifest resolves it with these checks),
shouldRunOnServer('gcp') is false so it runs in-process in the Trigger.dev
runtime, and it calls public *.googleapis.com — so it is unaffected by the AWS
VPC / dynamic-integration scheduler constraints.

GCP coverage: 4 → 6 task templates (5 → 8 checks). Adds 20 tests.

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

feat(integrations): add GCP Monitoring & Alerting and Encryption at Rest checks
@vercel

vercel Bot commented Jun 17, 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 17, 2026 6:22pm
comp-framework-editor (staging) Ready Ready Preview, Comment Jun 17, 2026 6:22pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
portal (staging) Skipped Skipped Jun 17, 2026 6:22pm

Request Review

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 issue found across 6 files

Confidence score: 3/5

  • In packages/integration-platform/src/manifests/gcp/checks/cloud-monitoring-alerting.ts, the log-export pass condition appears overly broad, so a non-default enabled sink can incorrectly satisfy the check even without a durable export target; merging as-is risks false positives that misreport monitoring/alerting compliance to users — tighten the predicate to require a durable export destination before marking the control as passed.

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

tofikwest and others added 3 commits June 17, 2026 13:47
…rong

Addresses review feedback: the Monitoring & Alerting log-export prong counted
any enabled, non-default-named sink as durable export. A custom-named sink can
still target the project's `_Default` log bucket, which is not durable export —
a false positive. Now key off the sink DESTINATION (BigQuery / Cloud Storage /
Pub/Sub, or a non-default Cloud Logging bucket), matching the Azure Monitor
check's "export to a real destination" bar. Adds 2 tests (custom-named sink to
the _Default bucket fails; sink to a dedicated log bucket passes).

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

[dev] [tofikwest] tofik/gcp-monitoring-encryption-checks
@vercel vercel Bot temporarily deployed to staging – portal June 17, 2026 18:19 Inactive
@tofikwest tofikwest merged commit 1725bb5 into release Jun 17, 2026
14 checks passed
@claudfuen

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.85.0 🎉

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