In-boundary mode (GovCloud / Gov)
Some buyers cannot send connector reads to a hosted US-commercial service. In-boundary mode answers that: a customer-operated collector runs inside your own AWS GovCloud, Azure Government or GCP Assured Workloads boundary, with your own read-only credentials, and emits a signed, metadata-only evidence bundle. Raw evidence never leaves your boundary — scm.cc stores signed KSI facts and sha256 digests only. This mode is generally available.
How it works
- You run the collector container inside your boundary on a schedule (CloudFormation / Terraform / Bicep templates ship in
docs/connect/). It runs the same AWS, Azure, GCP and GitHub adapters the hosted product uses. - The collector redacts credential material, content-hashes every item, and signs the whole bundle with an ed25519 key held inside your boundary. The private key never leaves your boundary.
- You register the matching public key once in scm.cc (Settings → In-boundary collector). Public keys are not secret.
- The collector POSTs a metadata-only bundle to
POST /api/collector/bundleswith the signature in thex-collector-signatureheader. scm.cc verifies the signature against your registered key, rejects stale or replayed bundles, and stores the KSI facts and digests — attributedin-boundary.
The container image
The collector is a single-purpose container built from the scm.cc repository (packages/collector/Dockerfile, base node:22-alpine, runs as a non-root user). Pull it into your own registry and pin it by digest, not a floating tag, so the running image is reproducible and auditable:
# pin by digest in your own registry (GovCloud ECR / Azure ACR / GCP Artifact Registry)
<registry>/scm-collector@sha256:<digest>
# generate a signing key once, inside the boundary
docker run --rm <registry>/scm-collector@sha256:<digest> --gen-key > collector-ed25519.pem
# collect, sign, and upload the metadata-only bundle
docker run --rm \
-e COLLECTOR_AWS='{"accessKeyId":"...","secretAccessKey":"...","region":"us-gov-west-1"}' \
-e COLLECTOR_SIGNING_KEY="$(cat collector-ed25519.pem)" \
<registry>/scm-collector@sha256:<digest> \
--boundary acme-govcloud \
--ingest-url https://app.scm.cc/api/collector/bundles \
--org <your-org-uuid> --key-id acme-govcloud-1Without --ingest-url the collector only writes the bundle to stdout or --out and never calls scm.cc — the bundle stays a portable artifact you choose to share.
Verify a bundle signature independently
A bundle is self-describing: it carries the ed25519 public key, a signature over the canonical bundle (minus the signature), and a per-item sha256. Anyone — you, an auditor — can verify it without scm.cc, and pin the trusted key:
import { verifyBundle } from "@fedramp/collector";
const bundle = JSON.parse(fs.readFileSync("bundle.json", "utf8"));
const result = verifyBundle(bundle, expectedPublicKeyB64 /* pin your key */);
// result.ok === true only when every item hash matches AND the ed25519
// signature over the canonical bundle holds.Exactly what leaves the boundary
The metadata-only ingest body carries only these fields — never raw evidence:
organizationId— your scm.cc org id.keyId— the id of your registered collector public key.nonce— a per-bundle replay guard.signedAt— the signing time (a freshness window rejects stale bundles).bundleDigest— a sha256 over the full signed bundle.facts[]— per-KSI records:ksiId, averdict(verified / failed / unverified), themethod, aevidenceDigest(sha256 of the customer-held artifact), and a smalldetailobject (provider, scope, resource reference).
What never leaves the boundary:
- Raw provider payloads (Security Hub findings, Defender data, SCC findings, GitHub data).
- Credential material — redacted out before the bundle is hashed or signed.
- The ed25519 private signing key.
- The resolved contents behind any
evidenceDigest— only the digest is sent.
Turn it on
An org owner or admin registers a collector public key and toggles metadata-only mode under Settings → In-boundary collector. See the per-mode data flow on the subprocessor matrix.
Educational resource only. scm.cc is not a FedRAMP Recognized Independent Assessor (3PAO) and is not FedRAMP-authorized; it grants no authorization, certification, or assessment outcome. FedRAMP.gov is the authoritative source. This is not legal advice.