Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Certification packages

Read frozen FedRAMP 20x certification packages shared with assessors, agencies, and other parties. These commands retrieve stored package versions; they do not regenerate compliance artifacts. The token needs certification.read or admin. A general read token is insufficient. Organization access and any single-system token binding still apply, and the platform audits successful package reads.

Always pass --framework; the active framework is never inferred. --system can be omitted when an active system is configured.

pretorin certification manifest --system SYSTEM_ID --framework fedramp-20x-class-c
pretorin certification versions --system SYSTEM_ID --framework fedramp-20x-class-c
pretorin certification artifact fedramp/sdr --system SYSTEM_ID --framework fedramp-20x-class-c --output sdr.json
pretorin certification artifact fedramp/cpo --system SYSTEM_ID --framework fedramp-20x-class-c --format html --version 2 --output cpo.html

Use the actual framework ID for your system. Artifact paths include fedramp/sdr, fedramp/cpo, fedramp/ocr, and fedramp/scn/RECORD_ID.

CommandOptionsResult
pretorin certification manifest--framework, --system, --version, --outputFrozen JSON manifest, including per-artifact hashes
pretorin certification artifact NAME--framework, --system, --format json|html, --version, --outputFrozen artifact bytes
pretorin certification versions--framework, --system, --outputJSON list of frozen package versions and artifact digests

--version must be a positive integer. Manifest and artifact default to the current package. --format applies to artifacts; manifests and version lists are JSON. Without --output, content is printed to stdout. With --output, the manifest or artifact retains its original bytes. A root --json option gives machine-readable write receipts; it does not reserialize downloaded artifacts.

Integrity checks

Before returning manifest bytes, the client verifies the X-Content-SHA256 response header. For artifacts it reads that verified manifest, pins the artifact request to the manifest’s package version, and compares the bytes with both the response header and the manifest’s sha256 entry. Missing or conflicting JSON hashes, inconsistent versions, and mismatches fail before the output file is opened, preserving any previous file.

Official HTML artifacts are verified against their manifest digest too. Legacy HTML renders whose manifests have no HTML digest are checked against the response header. These integrity checks detect damaged or mixed-version downloads; the platform’s HTTPS connection and access controls remain the trust boundary.

A 403 error names certification.read and points to the token’s system binding. Check that scope and system access instead of retrying with the general read scope. Archived, unpublished, or unavailable packages can return 404.

MCP reads

get_certification_manifest and get_certification_artifact require explicit system_id and framework_id; version is optional. The artifact tool also requires name and accepts format (json or html, default json). Both are read-only tools with typed input validation. Artifact content is returned only after the same integrity checks used by the CLI. Large results retain the normal MCP result paging behavior.

For unauthenticated provider information, use pretorin fedramp public-info.