CLOUDNERVEcloudnerve.com
← Back to CloudNerve Home
🛡️ 4 Services Monitored · 0 DriftOpen Workspace ↗
🛡️ CloudNerve RevisionGuard Control Plane

Cloud Run Preflight Linter & SHA-256 Revision Ledger

Catch .gcloudignore environment variable omissions, risky --allow-unauthenticated flags, and --min-instances cost traps before deployment, or inspect hash-chained AI session provenance across production Cloud Run revisions.

🛡️ Zero-Login Cloud Run Preflight Linter

Paste gcloud run deploy or service.yaml

Catches .gcloudignore env drift, risky --allow-unauthenticated IAM flags, secret leaks, and --min-instancescost traps in <10ms.

Target Service: payments-webhook-apiRisk Score: 90/100
✅ SECRET LEAK SCANNIST SA-11 / IA-5

0 hardcoded API keys, OAuth tokens, session cookies, or private keys detected.

❌ IAM POLICY WARNINGNIST AC-6 (Least Privilege)

`--allow-unauthenticated` on backend service "payments-webhook-api" exposes internal endpoints publicly unless gated by X-API-Key / Bearer middleware.

❌ ENV VAR DRIFT HAZARDNIST CM-2 (Baseline Configuration)

`--set-env-vars` overwrites the entire environment map. Wipes all previously configured Cloud Run environment variables. Replace with `--update-env-vars`.

⚠️ COST GUARDRAIL WARNINGNIST SA-2 (Resource Allocation)

`min-instances=2` disables scale-to-zero (~$36+/mo idle burn). Set `--min-instances=0 --max-instances=3 --memory=512Mi`.

🔒 Hardened Cloud Run Deploy Command
gcloud run deploy payments-webhook-api \
  --source services/payments --region us-central1 \
  --project acme-cloud-prod \
  --allow-unauthenticated \
  --min-instances=0 --max-instances=3 \
  --memory=512Mi --cpu=1 \
  --update-env-vars SERVICE_API_KEY=$SERVICE_API_KEY

Preflight flagged risk score 90/100 for payments-webhook-api. Apply the hardened gcloud deploy command below to prevent env drift and cost overruns.

Includes hardened deploy CLI, NIST CM-2/AU-3 checklist, and 1-line update-traffic rollback runbook.

Live Production Revision Ledger

4 Services Monitored · 0 Drift

Reference Sandbox Project: acme-cloud-prod · Region: us-central1 · Hash-Chained SHA-256 Attestation

Click any revision to inspect env-key diffs, AI session provenance & 1-line rollback
Cloud Run ServiceActive Revision IDStatus & DriftResourcesSHA-256 ChainAudit Card
acme-checkout-web
acme-checkout-web-00042-k9pRevision acme-checkout-web-00042-k9p status shield512Mi · 1 vCPU · min=0..5Chain #101Audit →
payments-webhook-api
payments-webhook-api-00018-m4xRevision payments-webhook-api-00018-m4x status shield512Mi · 1 vCPU · min=0..4Chain #102Audit →
vertex-rag-indexer
vertex-rag-indexer-00027-q8vRevision vertex-rag-indexer-00027-q8v status shield1Gi · 1 vCPU · min=0..3Chain #103Audit →
otel-trace-gateway
otel-trace-gateway-00011-r2zRevision otel-trace-gateway-00011-r2z status shield512Mi · 1 vCPU · min=0..3Chain #104Audit →