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

Complete Command Reference

Global Options

OptionDescription
--jsonJSON output mode for scripting and AI agents
--version, -VShow version and exit
--helpShow command help

Root Commands

CommandDescription
pretorin loginAuthenticate with the Pretorin API (--api-key/-k, --api-url)
pretorin logoutClear stored credentials
pretorin whoamiDisplay authentication status
pretorin versionShow CLI version, runtime kind, and resolved executable path
pretorin linkPin the canonical MCP path ~/.pretorin/bin/pretorin at this executable so host config survives reinstalls/upgrades (--force)
pretorin update [VERSION]Update to the latest version, or a specific one. Python-package installs run their own installer; a standalone Linux x86_64 binary verifies and replaces itself (see Self-update); Homebrew is routed to brew upgrade
pretorin mcp-serveStart the MCP server (stdio transport)
pretorin mcp-smoke-testSmoke-test the cross-harness MCP tool surface (check_context, list_tools, get_instructions, get_workflow schema bundling); exits 1 on failure

Self-update

On a standalone Linux x86_64 binary (not Homebrew-managed), pretorin update replaces the running executable itself. Every other install keeps its existing behavior: Python packages upgrade through uv/pipx/pip, Homebrew is pointed at brew upgrade pretorin, and macOS or other-architecture binaries are pointed at the releases page.

What must pass before anything is installed. The release-signing public key is embedded in the binary at build time, and it is the only trust anchor: it verifies the release’s SHA256SUMS signature; the signed manifest then binds the release’s RELEASE-TAG (so a same-version prerelease’s genuinely signed assets cannot answer for a stable release) and the binary’s own checksum; finally the downloaded binary is asked what version it is. Nothing downloaded is executed until the signature and checksum checks have both passed, the replacement is a single atomic rename, and any failure leaves the installed executable byte-identical.

Failures are categorized. A refusal names a machine-readable category — sig-invalid, digest-mismatch, tag-binding, manifest-cutoff, latest-prerelease, not-found, target-not-writable, and others — followed by prose and a pointer to the manual download-and-verify path. Releases published before RELEASE-TAG existed are not installable targets (manifest-cutoff): their tag cannot be authenticated.

When the target is not writable (a root-owned /usr/local/bin, the normal case), Pretorin does not escalate. It verifies the download anyway, keeps the verified binary under ~/.pretorin/updates/, and prints a single sudo command that copies it to a root-owned temporary file in the target directory, re-checks that copy’s checksum, and renames it into place. Only a fully verified artifact is ever retained.

With and without a version argument. No argument resolves the latest release and installs it only if it is strictly newer — it never downgrades, and it never installs a prerelease. An explicit pretorin update <version> may downgrade or reinstall, which is what makes prerelease and rollback installs possible. Because a prerelease binary reports the same X.Y.Z segment as the stable release of that version, moving from a prerelease to its stable release needs the explicit form; the no-argument path would correctly answer “already up to date”.

Already-running processes (an MCP server a host has spawned, for instance) keep the previous version until they restart.

Framework Commands

CommandDescription
pretorin frameworks listList all frameworks
pretorin frameworks get <id>Get framework details
pretorin frameworks families <id>List control families
pretorin frameworks family <fw> <family>Get control family details
pretorin frameworks controls <id> [FAMILY_ID]List controls (--family/-f, --limit/-n)
pretorin frameworks control <fw> <ctrl>Get control details (--brief/-b)
pretorin frameworks metadata <id>Get per-control framework metadata
pretorin frameworks submit-artifact <file>Submit a compliance artifact JSON file

Custom Frameworks

Subcommands of pretorin frameworks for authoring, validating, and uploading custom or forked frameworks. See Custom Frameworks for the full authoring workflow.

CommandDescription
pretorin frameworks init-custom <framework_id>Scaffold a minimal valid unified.json (--title/-t, --output/-o, --force/-f)
pretorin frameworks validate-custom <file>Validate a unified.json artifact against the bundled JSON Schema
pretorin frameworks build-custom <input>Normalize a source catalog (unified, OSCAL, or known custom) into uploadable unified.json (--framework-id/-f required, --output/-o, --force)
pretorin frameworks upload-custom <file>Upload a unified.json artifact as a draft revision (--framework-id/-f, --version-label/-v, --publish)
pretorin frameworks fork-framework <source_id> <new_id>Create a linked-fork draft from an upstream framework (--version-label/-v)
pretorin frameworks rebase-fork <framework_id>Create a rebase draft for a fork against the latest upstream revision (--version-label/-v)
pretorin frameworks revisions <framework_id>List all draft and published revisions for a framework
pretorin frameworks export-oscal <file>Regenerate an OSCAL catalog from a unified.json artifact (--output/-o, --force)

Context Commands

CommandDescription
pretorin context listList systems and frameworks with progress
pretorin context setSet active system/framework context (--system/-s, --framework/-f, --no-verify)
pretorin context showDisplay and validate current active context (--quiet/-q, --check)
pretorin context clearClear active context
pretorin context verifyVerify active context with source attestation (--ttl, --quiet/-q)
pretorin context manifestShow resolved source manifest and evaluate against detected sources (--quiet/-q)

RMF System Commands

CommandDescription
pretorin system frameworks list <system_id>List the system’s frameworks with initialization state and selection mode
pretorin system frameworks add <system_id> <framework_id>Attach a framework and wait for initialization (--reuse/--no-reuse, --preview, --wait/--no-wait)
pretorin system categorize <system_id>Answer the platform RMF questionnaire (--answers, --complete, --override, --basis, --clear-override, --preview)
pretorin system emass-registration <system_id>Read the eMASS System Registration mapping
pretorin system selection <system_id> --framework <id>Show responsibility counts and a page of controls (--status, --designation, --offset, --limit)
pretorin system selection tailor <system_id> <control> add|exclude|clear --framework <id>Record a human tailoring decision (--justification for add/exclude)
pretorin system selection recompute <system_id> --framework <id>Request a selection recompute
pretorin system selection vendors <system_id> --framework <id>Show inherited controls by vendor
pretorin rmf seeded-catalogsList catalogs available for vendor seeding
pretorin rmf crm-templatePrint the responsibility-matrix CSV template

FedRAMP Quarterly Reviews

Every command requires --framework/-f; --system/-s defaults to the active system. Reads require read scope; writes require write scope and an owner, admin, or member role. Only held reviews count toward the platform cadence.

CommandDescription
pretorin fedramp quarterly-review listList reviews (--framework/-f, --system/-s, --limit, --offset)
pretorin fedramp quarterly-review show <review_id>Read one review (--framework/-f, --system/-s)
pretorin fedramp quarterly-review createSchedule or record a review (--framework/-f, --system/-s, --review-date, --status, --attendee, --topic, --registration-url, --recording-url, --notes-url, --notes, --reviewed-package-id)
pretorin fedramp quarterly-review update <review_id>Patch supplied fields, or clear optional fields (--framework/-f, --system/-s, --review-date, --status, --attendee, --topic, --registration-url, --recording-url, --notes-url, --notes, --reviewed-package-id, --clear)

Dates use YYYY-MM-DD; statuses are scheduled, held, or cancelled. Repeat attendee and topic flags for lists. Updates preserve omitted fields. Repeat --clear with an optional field name to clear it; setting and clearing one field is rejected. See FedRAMP Quarterly Reviews for examples and access rules.

Control Commands

CommandDescription
pretorin control status <ctrl> <status>Start/reopen control authoring; status must be in_progress (--framework-id/-f, --system/-s)
pretorin control context <ctrl>Get rich control context with AI guidance (--framework-id/-f, --system/-s)

Assessment Objective Commands

CommandDescription
pretorin objective listList per-system objective state (--framework-id/-f, --control/-c, --status, --open-only, --only-conflicts, --system/-s, --limit/-l, --offset)
pretorin objective show <implementation_id>Show determination, status provenance, narrative/draft, evidence coverage, approval, and history (--system/-s, --history-limit)
pretorin objective seed <control_id>Idempotently initialize catalog objective rows (--framework-id/-f, --system/-s)
pretorin objective start <implementation_id>Start objective work with the public in_progress status (--reason, --system/-s)
pretorin objective narrative <implementation_id> <text>Update the API-token-authored objective narrative draft (--system/-s)
pretorin objective approve <implementation_id>Approve a grounded objective leaf; never approves the parent control (--system/-s)
pretorin objective reopen <implementation_id>Reopen an approved objective (--system/-s)
pretorin objective link-evidence <implementation_id> <evidence_id>Link evidence at objective grain (--system/-s)
pretorin objective unlink-evidence <implementation_id> <evidence_id>Remove one objective-evidence link (--system/-s)

Evidence Commands

CommandDescription
pretorin evidence create <ctrl> <fw>Create a local evidence file (--name/-n, --description/-d, --artifact-content/--artifact, --type/-t)
pretorin evidence format-markdown [file]Remove section headers and standalone bold labels for SSP-safe evidence bodies (--write, --check)
pretorin evidence listList local evidence files (--framework/-f)
pretorin evidence pushPush local evidence to the platform (--dry-run)
pretorin evidence searchSearch platform evidence (--control-id/-c, --framework-id/-f, --system/-s, --query/-q, --include-attached/--no-attached, --include-unattached/--no-unattached, --min-similarity, --limit/-n, --include-metadata/--compact-metadata, --full-body/--snippet-only, --max-body-chars, --snippet-chars)
pretorin evidence upsert <ctrl> <fw>Find-or-create evidence and link it (--name/-n, --description/-d, --artifact-content/--artifact, --type/-t, --system/-s, --code-file, --code-lines, --code-repo, --code-commit, --coverage-start, --coverage-end, --capture-query, --source-uri, --source-label, --source-locator, --source-excerpt, --capture-method, --cadence-days)
pretorin evidence upload <file> <ctrl> <fw>Upload a file as evidence (--name/-n, --type/-t, --description/-d, --system/-s)
pretorin evidence link <evidence_id> <ctrl>Link evidence to a control (--framework-id/-f, --system/-s, --expectation-key, --expectation-item, --unbound-reason)
pretorin evidence link-cci <evidence_id> <cci_implementation_id>Link evidence to a per-system CCI implementation row (--system/-s, --override-system-mismatch, --override-reason)
pretorin evidence link-stig <evidence_id> <stig_rule_id>Link evidence to a STIG rule workflow (lazy-creates the row) (--system/-s, --override-system-mismatch, --override-reason)
pretorin evidence mark-current <evidence_id>Re-affirm evidence freshness; bumps expires_at by the refresh cadence and resolves any expiring/expired monitoring events (--system/-s)
pretorin evidence validate <evidence_id>Compare recorded source-material hash before re-verifying or replacing a drifted Markdown artifact (--system/-s, --source-root, --artifact-content/--artifact, --description/-d, --drift-note)
pretorin evidence validate-upload <evidence_id>Validate a reviewed pending upload, preserving its file and expiry (--artifact-sha256, --review-note, --system/-s)
pretorin evidence delete <evidence_id>Delete an evidence item (--system/-s, --framework-id/-f, --yes/-y)

Evidence Attestation

Subcommands of pretorin evidence attestation for fetching and verifying DSSE attestation envelopes per ADR 0003.

CommandDescription
pretorin evidence attestation get <evidence_id>Fetch the latest DSSE envelope for an evidence record (--lineage, --include-archived); run as pretorin --json evidence attestation get … to pipe into cosign verify-blob-attestation
pretorin evidence attestation verify <evidence_id>Verify the DSSE signature against the deployment’s signing-key registry (--env, --key-fingerprint)

Narrative Commands

CommandDescription
pretorin narrative create <ctrl> <fw>Create a local narrative file (--content/-c, --name/-n)
pretorin narrative listList local narrative files (--framework/-f)
pretorin narrative pushPush local narratives to the platform (--dry-run)
pretorin narrative push-file <ctrl> <fw> <sys> <file>Push a single narrative file to the platform
pretorin narrative get <ctrl> <fw>Get current control narrative (--system/-s)

Issues Commands

CommandDescription
pretorin issues create <ctrl> <fw>Create a local issue file (--content/-c, --name/-n, --title/-t, --likelihood, --impact, --risk-basis)
pretorin issues list [ctrl] [fw]List issues — platform (--system/-s) or local (--local, --framework/-f)
pretorin issues inbox [fw]List issues across a whole system/framework (--status, --source, --control/-c, --limit, --offset, --system/-s)
pretorin issues pushPush local issues to the platform (--dry-run)
pretorin issues add <ctrl> <fw>Add a canonical Issue and provisional risk (--title/-t, --content/-c, --likelihood, --impact, --risk-basis, --detected-at, --idempotency-key, --system/-s)
pretorin issues risk-history <control_impl_id> <issue_id>Read the immutable risk-evaluation history (--limit)
pretorin issues risk-add <control_impl_id> <issue_id>Append an API-authored provisional evaluation (--basis required, --likelihood, --impact, --residual-likelihood, --residual-impact, --pain-rating 0-5, --internet-reachable/--no-internet-reachable, --likely-exploitable/--no-likely-exploitable, --next-pain-rating 0-5, --next-reduction-at, --supplementary-risk-info)
pretorin issues acceptance-history <control_impl_id> <issue_id>Read the human-governed risk-acceptance history (--limit)
pretorin issues poam-set <control_impl_id> <issue_id>Replace Issue-owned formal POA&M facts — full replacement (--weakness-id, --detection-source, --asset-id, --point-of-contact, --vendor-name, --vendor-product, --vendor-check-in, --vendor-dependency/--no-vendor-dependency, --operational-requirement, --operational-requirement-id, --deviation-rationale, --false-positive, --comments)
pretorin issues plan-list <control_impl_id> <issue_id>List an Issue’s corrective plans, newest first (--limit)
pretorin issues plan-get <control_impl_id> <issue_id> <plan_id>Read a single plan with its actions
pretorin issues plan-create <control_impl_id> <issue_id>Draft a versioned corrective plan (--title/-t, --narrative/-n required; --kind remediation|cmmc_opa, --owner-id, --target-date, --resources, --opa-basis, --review-frequency-days, --next-review-at)
pretorin issues plan-update <control_impl_id> <issue_id> <plan_id>Replace a draft plan’s fields — same required/optional flags as plan-create
pretorin issues plan-submit <control_impl_id> <issue_id> <plan_id>Submit a draft plan for human approval review
pretorin issues risk-confirm <control_impl_id> <issue_id>Confirm the Issue’s risk determination (--basis required, --likelihood, --impact, --residual-likelihood, --residual-impact, --pain-rating 0-5, --internet-reachable/--no-internet-reachable, --likely-exploitable/--no-likely-exploitable, --next-pain-rating 0-5, --next-reduction-at, --supplementary-risk-info)
pretorin issues accept <control_impl_id> <issue_id> <risk_evaluation_id>Formally accept the confirmed risk (--rationale, --expires-at, --review-frequency-days, --next-review-at, --evidence-id)
pretorin issues acceptance-revoke <control_impl_id> <issue_id> <acceptance_id>Withdraw an active risk acceptance (--reason)
pretorin issues plan-approve/plan-reject <control_impl_id> <issue_id> <plan_id>Approve (--note) or reject (--reason) a submitted plan
pretorin issues plan-opa-review <control_impl_id> <issue_id> <plan_id>Review an approved CMMC OPA (--note, --next-review-at, --evidence-id)
pretorin issues plan-complete <control_impl_id> <issue_id> <plan_id>Complete an approved plan once every action is completed (--note) — moves the Issue to verification_pending
pretorin issues verify <control_impl_id> <issue_id>Verify treatment and close the Issue (--note) — the canonical closure command
pretorin issues void <control_impl_id> <issue_id>Void an invalid finding (--reason, --force when already closed) — terminal and irreversible
pretorin issues action-list <control_impl_id> <issue_id> <plan_id>List a plan’s actions
pretorin issues action-get <control_impl_id> <issue_id> <plan_id> <action_id>Read a single action
pretorin issues action-add <control_impl_id> <issue_id> <plan_id>Add an action to a draft plan (--title/-t required; --kind, --description/-d, --owner-id, --target-date, --evidence-id, --ticket-provider, --ticket-id, --ticket-url)
pretorin issues action-update <control_impl_id> <issue_id> <plan_id> <action_id>Replace a draft action’s fields — same flags as action-add
pretorin issues action-delete <control_impl_id> <issue_id> <plan_id> <action_id>Remove an action from a draft plan
pretorin issues action-transition <control_impl_id> <issue_id> <plan_id> <action_id>Execute an action on an approved plan (--status pending|in_progress|blocked|completed|cancelled required; --note required for blocked/cancelled, --evidence-id)
pretorin issues resolve <ctrl> <fw> <issue_id>Resolve or reopen a control issue (--system/-s, --resolution-note/--justification, --reopen)
pretorin issues update <ctrl> <fw> <issue_id>Edit content/pinned/closure note without changing resolution state (--system/-s, --content/-c, --pinned/--no-pinned, --resolution-note/--justification)

Notes Commands (Deprecated alias of issues)

The notes command group is a deprecated alias for issues; use issues for new workflows. The commands accept the same arguments and call the same platform APIs.

CommandDescription
pretorin notes create <ctrl> <fw>Create a local note file (--content/-c, --name/-n)
pretorin notes list [ctrl] [fw]List notes — platform (--system/-s) or local (--local, --framework/-f)
pretorin notes pushPush local notes to the platform (--dry-run)
pretorin notes add <ctrl> <fw>Add a note directly on the platform (--content/-c, --system/-s)
pretorin notes resolve <ctrl> <fw> <note_id>Resolve or reopen a control note (--system/-s, --resolution-note/--justification, --reopen, --content/-c, --pinned/--no-pinned)

Monitoring Commands

CommandDescription
pretorin monitoring pushPush a monitoring event (--system/-s, --framework/-f, --title/-t, --event-type, --severity, --control/-c, --description/-d, --update-control-status)

Policy Commands

CommandDescription
pretorin policy listList org policies available for questionnaire work
pretorin policy createValidate/preview a YAML or JSON custom definition (`–definition PATH
pretorin policy definitionRead a policy’s resolved definition state and revision (--policy)
pretorin policy configureValidate/preview a revision-safe replacement (--policy, --definition, --expected-revision all required; optional --reset-authoring); add --apply to write
pretorin policy showShow persisted policy questionnaire state (--policy)
pretorin policy generateGenerate a ready policy and wait for the durable job (--policy required, --review/--no-review, optional --system)
pretorin policy reviewRun AI review and wait for its durable job (--policy)
pretorin policy submitSubmit a ready policy for human review; never approves (--policy)
pretorin policy mappingsList mappings in one framework (--policy, --framework)
pretorin policy mapPreview framework-scoped mapping replacement (--policy, --framework both required; --family, --control); add --apply to write
pretorin policy narrativeShow generated policy narrative sections in order (--policy selector required)
pretorin policy search <policy> "<query>"Search one generated policy narrative for ranked section matches (--limit/-n, --min-similarity)
pretorin policy reopenReopen an approved policy for editing (regress to draft) (--policy required)
pretorin policy populateDraft policy questionnaire updates from the current workspace (--policy, --path/-p, --apply)

Scope Commands

CommandDescription
pretorin scope showShow scope questionnaire state and review findings (--system/-s, --framework-id/-f)
pretorin scope reopenReopen a completed scope for editing (regress to in_progress) (--system/-s, --framework-id/-f)
pretorin scope step <step>Mark a walkthrough step (narrative, guidance, controls, system_spec) completed; progress only (--undo, --system/-s, --framework-id/-f)
pretorin scope populateDraft scope questionnaire updates from the current workspace (--system/-s, --framework-id/-f, --path/-p, --apply)
pretorin scope target-tier [tier]Declare, clear, or read the target scale tier (--clear, --system/-s, --framework-id/-f)

Scope Artifacts

Subcommands of pretorin scope artifacts for managing the auditor-required system_spec artifacts (asset inventory + 4 snapshot kinds). The inventory group wraps the recipe-driven scan flow and posts a classified diff (added / modified / decommissioned) against the platform inventory.

CommandDescription
pretorin scope artifacts listList the 5 system_spec artifact kinds with required/toggle/attest state (--system/-s)
pretorin scope artifacts toggle <kind>Toggle an artifact kind required/optional; rationale required on toggle-off (--system/-s, --optional/--required, --rationale/-r)
pretorin scope artifacts inventory showShow the current (or historical) asset inventory (--system/-s, --as-of)
pretorin scope artifacts inventory upload <csv>Parse a CSV client-side, classify rows, and post a single inventory diff (--system/-s, --yes/-y)
pretorin scope artifacts inventory scan <source>Run a recipe-driven scan (aws, azure, k8s, iac-workspace) and post the resulting diff (--system/-s, --yes/-y, --dry-run, --namespace-env k8s only: JSON namespace→environment overrides)

Agent Commands

CommandDescription
pretorin agent configureConfigure Codex (--runtime auto|system|managed, --model, --model-provider, --reasoning-effort low|medium|high|xhigh, --executable; --clear-model, --clear-model-provider, --clear-reasoning-effort, --clear-executable)
pretorin agent run "<task>"Run a compliance task through Codex (--skill/-s, --model/-m, --reasoning-effort low|medium|high|xhigh, --base-url, --working-dir/-w, --no-stream)
pretorin agent doctorValidate the Codex runtime, model, and credential setup
pretorin agent installResolve or install the Codex binary
pretorin agent versionShow the Codex version, source, path, and status
pretorin agent skillsList available agent skills
pretorin agent mcp-listList configured MCP servers for the agent
pretorin agent mcp-add <name> <transport> <command_or_url>Add an MCP server configuration (--arg/-a, --bearer-token-env-var for HTTP servers, --scope project|global)
pretorin agent mcp-remove <name>Remove an MCP server configuration

Plan Commands

Operator-facing view onto work plans persisted locally under ~/.pretorin/plans/. Routed work moves through draft → active → a terminal state (completed, failed, or cancelled). The MCP caller declares and activates standalone execution contracts. campaign start creates or strictly reconciles the Campaign parent plus one deterministic child identity for each specific work_on assignment. The coordinator freezes scope, required outcomes, and safety policy; each worker uses normal MCP guidance to author and activate its own concrete Plan, including its steps, ordering, tools, and recipes. A retry resumes that same activated Plan. This plan group remains an operator-facing read/cancel surface.

CommandDescription
pretorin plan listList recent plans, newest first (--state/-s draft|active|completed|failed|cancelled, --workflow/-w, --system, --framework, --control, --limit/-n)
pretorin plan show <plan_id>Show a single plan’s full details; plan_id accepts a full UUID or unique prefix
pretorin plan cancel <plan_id>Cancel a draft, active, or failed plan; refuses already-completed plans, no-op on already-cancelled (--reason/-r, --yes/-y)
pretorin plan pruneRemove old terminal (completed/failed/cancelled) plans and unactivated drafts; active plans never removed (--older-than-days/-d default 30; terminal age uses the matching terminal timestamp — completed_at, failed_at, or cancelled_at — and draft age uses created_at; --dry-run/-n, --include-corrupt, --yes/-y)

Skill Commands

CommandDescription
pretorin skill installInstall the Pretorin skill for AI coding agents (--agent/-a, --path/-p, --force/-f)
pretorin skill uninstallUninstall the Pretorin skill (--agent/-a, --path/-p)
pretorin skill statusShow installation status and version of the Pretorin skill, marking copies older than the CLI as outdated
pretorin skill list-agentsList all known agents and their skill directories

Review Commands

CommandDescription
pretorin review runReview code against a control (--control-id/-c, --framework-id/-f, --system/-s, --path/-p, --local, --output-dir/-o)
pretorin review statusCheck implementation status for a control (--control-id/-c, --framework-id/-f, --system/-s)

Config Commands

CommandDescription
pretorin config listList all configuration
pretorin config get <key>Get a config value
pretorin config set <key> <value>Set a config value
pretorin config pathShow config file path

Customer Deployment Commands

Operate a customer-managed Kubernetes deployment. Kubernetes commands accept an explicit --context; API-backed license status uses the active Pretorin CLI configuration and authentication.

CommandDescription
pretorin deployment identity ensureCreate the persistent deployment ID once and preserve it on later runs (--context, --namespace/-n)
pretorin deployment identity showPrint the non-secret deployment ID (--context, --namespace/-n)
pretorin deployment license requestWrite a non-secret issuance request (--customer-id, --customer-name, --max-systems, --duration-days required; --context, --namespace/-n, --output)
pretorin deployment license installInstall or renew the signed token and public trust bundle without a rollout (--license-file, --trust-bundle required; --context, --namespace/-n)
pretorin deployment license statusRead redacted validity and deployment-wide system usage from the authenticated public API
pretorin deployment flux bootstrapCreate customer values, signed OCI sources, foundation release, and the release Kustomization (--customer-values, --chart-registry, --release-repository, --release-public-key required; --update-mode, --channel, --context, --namespace/-n, --dry-run)
pretorin deployment flux suspendKeep discovering verified candidates but suspend applying them (--context)
pretorin deployment flux resumeRefuses mutable-channel resume; use the customer bundle’s digest-pinned approve-customer-release.sh helper instead (--context).
pretorin deployment flux statusReport candidate digest, apply state, and component readiness (--context, --namespace/-n)

Campaign Commands

These CLI commands share their coordinator and lifecycle semantics with the normal-profile MCP tools check_campaign_runtime, preview_campaign, start_campaign, get_campaign, list_campaigns, resume_campaign, and cancel_campaign. MCP checks readiness before its preview/confirm split, which then corresponds to CLI start --dry-run followed by start --yes --detach; records created by either surface use the same Campaign Plan ID and can be managed by the other. MCP single-Campaign responses suggest the same-host campaign watch TUI command but never execute it.

CommandDescription
pretorin campaign installResolve or install Codex plus embedded Hatchet; never invokes pip or global npm
pretorin campaign doctorDiagnose Codex, runtime trust/capabilities, Python dependencies, attempt isolation, and local-host durability without installing or downloading
pretorin campaign versionReport Codex source/version/status plus Hatchet SDK and embedded-engine versions
pretorin campaign start <type>Check execution readiness before external reads or local writes; resolve a frozen roster; prepare one shared source preflight; freeze Codex/model/reasoning/runtime provenance; create the parent Plan and specific child assignments; confirm bounded writes once; recheck dependencies; and dispatch through embedded Hatchet (--system, --framework/--framework-id, one selector — --all-controls, --family, --controls, --all-open-issues, --review-job, or --evidence — with Issue filters --issue-source, --issue-control, --issue-family, --include-resolved, --model, --model-provider, --reasoning-effort low|medium|high|xhigh, --review/--no-review, --require-source-kinds (comma-separated source kinds that must be ready in the frozen preflight), --source-evidence-grant CONTROL_ID=EVIDENCE_ID (repeatable existing PDF source), --concurrency, --max-retries, --yes/-y, --dry-run, --detach)
pretorin campaign listList local Campaign Plans for this project (--limit, --all-projects)
pretorin campaign show <campaign-plan-id>Show the parent/child hierarchy and bounded operational state
pretorin campaign status [campaign-plan-id]Show persisted execution, assessment, evidence-requirement coverage, and last-recorded platform-review aggregates without a platform refresh (--output)
pretorin campaign watch [campaign-plan-id]Attach the read-only Plan observer and live-refresh recorded queued/running platform review jobs; press q to detach (--refresh)
pretorin campaign resume [campaign-plan-id]Reconcile/adopt live Hatchet runs, submit unfinished children, or reopen only failed items from completed_with_errors on the same host (--yes/-y authorizes a previously prepared draft without prompting)
pretorin campaign cancel <campaign-plan-id>Durably request cancellation without undoing committed platform writes; terminal acknowledgement may be asynchronous (--reason)

Campaign types and selectors

TypeCompatible selectorsReview policy
initial-pass--all-controls, --family, --controlsNot requested unless --review is passed
interim-passcontrol selectors, --all-open-issues, --review-jobNot requested unless --review is passed
issue-triage--all-open-issues with optional Issue filters (--issue-source, --issue-control, --issue-family, --include-resolved)Publish without an automatic review request
evidence-review--evidence or control selectorsPublish without an automatic review request

Migration-window type aliases remain accepted: initial maps to initial-pass; issues-fix and notes-fix map to issue-triage and require --all-open-issues; review-fix maps to interim-pass and requires --review-job.

The public re-entry handle is the Campaign Plan ID. Omit it from status, watch, or resume only when exactly one resumable Campaign matches the current project. Resumable includes queued/running/finalizing work and retryable completed_with_errors; ambiguity returns candidate IDs. Completed and cancelled Campaigns require an explicit ID. Version 0.30.0 removed the legacy controls|policy|scope, execute --checkpoint, apply, and checkpoint observer forms. See Campaigns. For every Plan-backed Campaign type, compact status shows Child Plan work and watch shows Work state from each child Plan’s lifecycle. A completed child is success; a failed child is failure. Worker runtime and publication remain diagnostic axes. Control approval is a separate human UI decision. Handoff prerequisites report evidence and applicable assessment-objective or CCI leaf approval readiness separately. JSON retains legacy assessment keys for compatibility and adds work_state for the work result.

Vendor Commands

CommandDescription
pretorin vendor listList all vendors in the organization; inactive vendors are hidden by default (--search, --type/-t, --risk-tier, --owner-user-id, --assessment-status, --lifecycle-status, --include-inactive, --sort-by, --sort-dir)
pretorin vendor create <name>Create a vendor (--type/-t, --description/-d, --authorization-level/-a, --owner-user-id, --inherent-risk)
pretorin vendor get <vendor_id>Get vendor details
pretorin vendor update <vendor_id>Update vendor fields (--name, --description/-d, --type/-t, --authorization-level/-a, --owner-user-id, --inherent-risk)
pretorin vendor lifecycle <vendor_id> <target_status>Transition vendor lifecycle to onboarding/active/inactive (--reason required, ≤500 chars; needs a vendor.pii-scoped token, which only org owners/admins can grant)
pretorin vendor delete <vendor_id>Delete a vendor (--force/-f)
pretorin vendor history <vendor_id>Show vendor audit and evidence history (--limit)
pretorin vendor dashboardOrg-wide TPRM reporting dashboard: posture counts, tier/provider breakdowns, 5×5 residual heatmap, and document/contract expiry lists (--horizon-days 1–365, default 90; for JSON use the root option, pretorin --json vendor dashboard). Organization-wide; needs an org-scoped vendor.pii/admin token (system-scoped tokens are rejected)
pretorin vendor upload-doc <vendor_id> <file>Upload a vendor evidence document (--name/-n, --description/-d, --attestation-type, --expires-at, --refresh-cadence-days)
pretorin vendor import-crm <vendor_id> <file>Import a responsibility matrix and show the inheritance report
pretorin vendor inheritable-controls <vendor_id>List inheritable-control rows (--offset, --limit)
pretorin vendor seed <vendor_id> --catalog <id>Seed vendor inheritance from a platform catalog
pretorin vendor clear-inheritable <vendor_id>Clear inheritable-control rows
pretorin vendor list-docs <vendor_id>List documents linked to a vendor
pretorin vendor contact list <vendor_id>List a vendor’s contacts (needs a vendor.pii-scoped token, which only org owners/admins can grant; so do add/update/delete)
pretorin vendor contact add <vendor_id>Add a contact (--name required; --email, --title, --phone, --is-primary/--no-is-primary, --notes)
pretorin vendor contact update <vendor_id> <contact_id>Update a contact (same optional flags)
pretorin vendor contact delete <vendor_id> <contact_id>Delete a contact (--force/-f)
pretorin vendor contract list <vendor_id>List a vendor’s contracts/SLAs/DPAs; renders read-only status/is_expired (needs a vendor.pii-scoped token, which only org owners/admins can grant; so do add/update/delete)
pretorin vendor contract add <vendor_id>Add a contract (--name, --contract-type required; --start-date, --end-date, --renewal-date, --auto-renew/--no-auto-renew, --notice-period-days, --terminated-at, --document-evidence-item-id, --notes)
pretorin vendor contract update <vendor_id> <contract_id>Update a contract (same optional flags)
pretorin vendor contract delete <vendor_id> <contract_id>Delete a contract (--force/-f)
pretorin vendor systems list <vendor_id>List the systems a vendor serves
pretorin vendor systems attach <vendor_id>Attach systems to a vendor (--system-id, repeatable; at least one required)
pretorin vendor systems detach <vendor_id> <system_id>Detach a system from a vendor (--force/-f)
pretorin vendor residual-acceptance sign <vendor_id>Sign AO acceptance of a vendor’s residual risk for one attached system (--system-id required, --note optional)

Vendor Assessment Templates

Subcommands of pretorin vendor template for managing the org-scoped questionnaire templates that assessments are launched from.

CommandDescription
pretorin vendor template listList vendor assessment templates
pretorin vendor template get <template_id>Get a template with its sections and questions
pretorin vendor template delete <template_id>Delete an org-scoped custom or imported template (--force/-f)
pretorin vendor template clone <template_id>Clone a built-in or org-owned template into an editable org-owned copy (--name optional, ≤255 characters)
pretorin vendor template update <template_id>Replace an org-owned template’s sections and questions (optional name/description) from a JSON file (--file required); seed templates return a clone-first message, in-flight templates a conflict message

Vendor Assessments

Subcommands of pretorin vendor assessment for running a vendor through an assessment: launch from a template, save answers, submit, AI-score, finalize with reviewer residual ratings, and reopen a completed review for correction.

CommandDescription
pretorin vendor assessment launch <vendor_id>Launch an assessment for a vendor from a template (--template-id required)
pretorin vendor assessment list <vendor_id>List assessments for a vendor
pretorin vendor assessment get <vendor_id> <assessment_id>Get an assessment with its template snapshot and responses
pretorin vendor assessment save-responses <vendor_id> <assessment_id>Upsert assessment answers from JSON (--answers-json, --answers-file)
pretorin vendor assessment submit <vendor_id> <assessment_id>Submit an in-progress assessment
pretorin vendor assessment score <vendor_id> <assessment_id>Run advisory AI scoring for a submitted assessment; reports when scoring is unavailable and the assessment was not scored
pretorin vendor assessment review <vendor_id> <assessment_id>Finalize an assessment with reviewer residual risk ratings (--residual-likelihood, --residual-impact required, --acknowledge-no-ai-review)
pretorin vendor assessment reopen <vendor_id> <assessment_id>Reopen a reviewed assessment as in_progress (--reason optional, ≤255 characters); revokes portal access, resets AI scoring, and retains the prior review as a superseded revision
pretorin vendor assessment send <vendor_id> <assessment_id>Send an assessment through the vendor portal (--recipient-email repeatable, --expires-in-days, --message)
pretorin vendor assessment resend <vendor_id> <assessment_id>Rotate and resend the vendor portal link (--recipient-email repeatable, --expires-in-days, --message)
pretorin vendor assessment revoke <vendor_id> <assessment_id>Revoke the vendor portal link (--reason optional)

Vendor Types

csp, saas, managed_service, internal

Vendor Risk Bands

low, moderate, high, critical. medium is a deprecated input alias for moderate.

Battle Drill Commands

Battle Drill runs the organization’s repeatable compliance procedures: access reviews, tabletop exercises, incident response, onboarding and offboarding. The commands are org-level: they ignore the active system/framework context and need an org-wide API token (system-scoped tokens are rejected). A drill accepts its id or slug. There is deliberately no command to complete (sign off) or cancel a run; when every step is finished, a person signs off in the Battle Drill web app at <platform>/battle-drill/runs/<run_id>.

CommandDescription
pretorin drill listList the organization’s Battle Drills (--seeds for the seed library with adoption status, --include-inactive)
pretorin drill adopt <seed_slug>Adopt a seed drill (--name); an already adopted seed prints its existing drill id
pretorin drill show <drill>Show a drill (id or slug): trigger, cadence, steps, and controls
pretorin drill createCreate a custom drill from a DrillCreateRequest JSON file (--file/-f required)
pretorin drill start <drill>Start a run of an event drill (--subject required; --occurred-at, --assignee, --due-at, --idempotency-key to retry safely)
pretorin drill open <drill>Open a scheduled drill’s run for a period (--period such as 2026-Q4, default current; --assignee, --due-at, --idempotency-key); an existing period run prints its run id
pretorin drill runsList runs (--view active/overdue/completed/cancelled/all, --drill, --assignee, --trigger, --limit, --offset)
pretorin drill run show <run_id>Show a run’s steps, status, and evidence; when every step is finished, prints the web-app URL where a person signs off
pretorin drill run assign <run_id> [user_id]Assign a run to a user, or clear it with --unassign
pretorin drill step complete <run_id> <step_key>Complete a step (--justification/-j required; --evidence/-e, --upload/-u repeatable, --note-name + --note, --evidence-type); uploads and notes are attached first
pretorin drill step na <run_id> <step_key>Mark a step not applicable (--justification/-j required)
pretorin drill step evidence add <run_id> <step_key>Attach evidence without completing the step (--evidence/-e, --upload/-u, --note-name + --note, --evidence-type)
pretorin drill step evidence remove <run_id> <step_key> <evidence_id>Detach evidence from a step (the evidence itself is kept)

Risk Commands

Manage a system’s risk register. Risks are system-scoped except for the org-level risk library subgroup. See Risk Management for the full workflow.

CommandDescription
pretorin risk list [--system <system_id>]List risks for a system; defaults to active context (--category, --risk-level, --status)
pretorin risk show <risk_id> [--system <system_id>]Show full risk including eager-loaded artifact links; defaults to active context
pretorin risk create [--system <system_id>]Create a custom risk (--title, --category, --description/-d, --cia-category, --likelihood, --impact, --owner-id, --treatment, --treatment-plan, --treatment-due-date, --review-frequency-days, --framework, --suggested-control-family repeatable)
pretorin risk seed [--system <system_id>]Seed risks from library templates (--framework, --template-id repeatable)
pretorin risk update <risk_id> [--system <system_id>]Update fields including mitigation (--title, --description/-d, --category, --cia-category, --likelihood, --impact, --owner-id, --status, --review-frequency-days, --treatment, --treatment-plan, --treatment-due-date)
pretorin risk link add <risk_id> [--system <system_id>]Attach an artifact (--link-type, exactly one of --control + --framework, --evidence, --finding, --vendor, --monitoring-event)
pretorin risk link rm <risk_id> <link_id> [--system <system_id>]Remove a risk artifact link
pretorin risk refresh-summary <risk_id> [--system <system_id>]Re-score risk and trigger best-effort AI summary regeneration
pretorin risk posture [--system <system_id>]System-scoped risk posture summary (inherent vs residual, overdue, top 5)
pretorin risk attest <risk_id> [--system <system_id>]Produce a DSSE-signed attestation over the current risk state (--type, --statement/-m)
pretorin risk attestations <risk_id> [--system <system_id>]List DSSE attestation envelopes for a risk (newest first)
pretorin risk library listBrowse the org-level risk template library (--category)

Risk Attestation Types

residual_accepted, mitigation_approved, inherent_validated

Risk Treatment Values

mitigate, accept, transfer, avoid

contributes_to_risk, mitigates_risk, evidence_of_risk

Formal Assessment Commands

Run formal assessments for the Auditor Portal. A live assessment (the default) shows the auditor current data; freeze a snapshot only when a reproducible audit package is needed.

CommandDescription
pretorin assessments list [--system <system_id>]List formal assessments with review mode, snapshot state, and frozen time (--status repeatable, --type, --limit 1–500, --offset)
pretorin assessments get <assessment_id> [--system <system_id>]Show one assessment: review mode, observation period, snapshot state, frozen time
pretorin assessments schedule [--system <system_id>]Schedule a formal assessment (--name, --type, --framework, --review-mode live|snapshot, --start-date, --end-date, --observation-start, --observation-end, --auditor repeatable, --assessor-org, --assessor-contact, --description, --notes)
pretorin assessments start <assessment_id> [--system <system_id>]Start an assessment; a live one stays on current data, snapshot mode freezes at start
pretorin assessments freeze <assessment_id> [--system <system_id>]Freeze an immutable snapshot for a reproducible audit package (--keep-live for an export-only snapshot, --reason); owner/admin
pretorin assessments return-to-live <assessment_id> [--system <system_id>]Move auditors back to live data; the snapshot stays for export (--reason); owner/admin
pretorin assessments scope <assessment_id>Assessor view: the scope under review, on live data or the frozen snapshot
pretorin assessments controls <assessment_id>Controls under review with evidence counts and review state (--changed for controls changed since you reviewed them)
pretorin assessments control <assessment_id> <control_id>One control’s implementation, evidence, and review fingerprint
pretorin assessments evidence <assessment_id>Evidence under review (--control)
pretorin assessments evidence-download <assessment_id> <evidence_id>Download an evidence file (--output, --force)
pretorin assessments findings <assessment_id>Findings (--severity, --status)
pretorin assessments audit-work <assessment_id>Audit work per control, with review progress
pretorin assessments rfis <assessment_id>Requests for information (--status, --control)
pretorin assessments package <assessment_id>Latest audit package state; --download saves the zip (--output, --force)
pretorin assessments finding-add <assessment_id>Record a finding (--title, --description, --severity, --control, --recommendation, --due); assessment.write
pretorin assessments finding-update <assessment_id> <finding_id>Update a finding; assessment.write
pretorin assessments finding-resolve <assessment_id> <finding_id>Resolve a finding (--notes); assessment.write
pretorin assessments audit-work-record <assessment_id> <control_id>Record procedures, conclusion, and notes (--procedures, --conclusion, --notes, --reviewed --reviewed-fingerprint <fingerprint>); assessment.write
pretorin assessments rfi-add <assessment_id>Open an RFI to the system owner (--subject, --question, --control, --priority, --assign); assessment.write
pretorin assessments rfi-close <assessment_id> <rfi_id>Close an RFI; assessment.write

STIG Commands

CommandDescription
pretorin stig listList STIG benchmarks (--technology-area/-t, --product/-p, --limit/-l)
pretorin stig show <stig_id>Show STIG benchmark detail with severity breakdown
pretorin stig rules <stig_id>List rules for a benchmark (--severity/-s, --cci, --limit/-l)
pretorin stig applicableShow applicable STIGs for the active system (--system/-s)
pretorin stig inferAI-infer applicable STIGs from system profile (--system/-s)
pretorin stig checklistsList per-asset STIG checklists (--system/-s, --asset/-a, --limit/-l, --offset)
pretorin stig create-checklistCreate a checklist bound to a benchmark + asset (--benchmark/-b, --asset/-a, --title, --system/-s)
pretorin stig export <checklist_id>Download a regenerated .ckl/.cklb, print SHA-256 (--format/-f, --output/-o, --system/-s, --force to overwrite a server-chosen filename)
pretorin stig import <checklist_id> <file>Import a .ckl/.cklb (review axis) or XCCDF (--format xccdf, test axis) (--format/-f, --system/-s)

CCI Commands

CommandDescription
pretorin cci listList CCIs (--control/-c, --status, --limit/-l)
pretorin cci show <cci_id>Show CCI detail with a bounded linked-rule page (--stig, --limit/-l, --offset)
pretorin cci chain <control_id>Full traceability chain: Control -> CCIs -> SRGs -> STIG rules (--system/-s)
pretorin cci impl <cci_uuid>Show the per-system CCI implementation row (status, narrative, evidence_ids, eMASS fields) — 404 means uninitialized (--system/-s)

OSCAL Artifact Commands

Read-only access to validated OSCAL export artifacts. See OSCAL Artifacts.

CommandDescription
pretorin oscal artifacts listList validated OSCAL artifacts for a system (--type/-t, --framework/-f, --assessment/-a, --system/-s, --limit/-l, --offset)
pretorin oscal artifacts show <artifact_id>Show artifact metadata and the two-tier validation report (--system/-s)
pretorin oscal artifacts download <artifact_id>Download an artifact, verifying SHA-256 (--output/-o, --verify/--no-verify, --system/-s)
pretorin oscal artifacts latest --type <type>Show (or --download/-d) the latest validated artifact of a type (--framework/-f, --assessment/-a, --output/-o, --verify/--no-verify, --system/-s)

Preflight & Source Resolution Commands

Preflight verifies that the source material each recipe needs is actually reachable on this host before evidence work begins, then seeds the scope’s active recipe set from what’s runnable. Artifacts are per-scope (system + framework). See Recipes for how recipes consume sources.

CommandDescription
pretorin preflight showShow the current preflight verdict for the active (or given) scope (--system, --framework)
pretorin preflight verifyProbe every bound resolver, persist results, and show the refreshed verdict (--system, --framework)
pretorin preflight initBind sensible host-local defaults for this machine, then optionally verify (--workspace, --replace, --verify/--no-verify, --system, --framework)
pretorin preflight prunePreview stale, ephemeral-worktree, and duplicate resolver cleanup; persist safe removals with --apply (--scope <kind>, --system, --framework)
pretorin preflight provisionPropose (and with --apply seed) the active recipe set from the ready-set (--apply, --include-unofficial, --system, --framework)
pretorin preflight bind <kind>Add one resolver to a source kind’s collection, creating the artifact if needed (--type required, --name, --constraint, --scope repeatable, --probe, --param repeatable, --capability repeatable, --env-key repeatable, --recommended, --system, --framework)
pretorin preflight unbind <kind>Remove one resolver binding from a source kind by display name (--name required, --system, --framework)

Recipe Commands

Recipes are markdown + script playbooks the calling AI agent executes. See Recipes for authoring guidance.

CommandDescription
pretorin recipe listList loaded non-deprecated recipes with id, name, tier, author, and source path (--tier, --source, --produces, --system, --framework, --active, --include-unavailable, --include-deprecated)
pretorin recipe show <recipe_id>Display a recipe’s manifest, body, and (with --sources) all loader paths
pretorin recipe new <recipe_id>Scaffold a new recipe directory (--location user/project/builtin, --author, --name)
pretorin recipe validate <recipe_id>Validate a recipe’s manifest, scripts, and description quality (--path for path-based override)
pretorin recipe run <recipe_id>Run a recipe’s script locally for testing (--script/-s, --param/-p repeatable, --path, --system, --framework, --no-context)
pretorin recipe execute <recipe_id>Run a recipe non-interactively with platform input resolution and declared submit routing (--script/-s, --param/-p repeatable, --path, --system, --framework, --submit)
pretorin recipe activeShow the scope’s active recipe set + a provisioning proposal (--system, --framework)
pretorin recipe activate <recipe_id...>Add recipe(s) to the scope’s active set (--system, --framework)
pretorin recipe deactivate <recipe_id...>Remove recipe(s) from the scope’s active set (--system, --framework)

SBOM History

Capture software inventories with the sbom-capture recipe, then use these read-only commands to inspect history without downloading SBOM documents.

CommandDescription
pretorin sbom historyList up to 20 snapshot summaries (--system/-s, --subject-key, --limit, --offset)
pretorin sbom diff <snapshot_id>Show platform-computed change counts and up to 25 component identities per direction (--system/-s, --baseline, --limit)

Scanning

Scanning happens through built-in recipes. A calling AI agent invokes them over MCP; from the CLI you can run the same recipes with pretorin recipe run (local testing) or pretorin recipe execute (non-interactive, with declared submit routing). See STIG Scanning for the recipe-based workflow.

Configuration and compliance scanners:

Recipe IDWrapsCLI requirement
inspec-baselineChef InSpecinspec
openscap-baselineOpenSCAPoscap
cloud-aws-baselineAWS APIsaws
cloud-azure-baselineAzure APIsaz
manual-attestationHuman attestation—

Asset-inventory scanners, driven by pretorin scope artifacts inventory scan <source>. Each returns the same {added, modified, decommissioned} diff envelope against the platform inventory:

<source>Recipe IDEnumeratesCLI requirement
awsasset-inventory-aws-baselineEC2 instancesaws
azureasset-inventory-azure-baselineCompute VMsaz
k8sasset-inventory-k8s-baselineNodes, workload controllers, LoadBalancer Serviceskubectl
iac-workspaceasset-inventory-iac-workspaceResources declared in a workspace repo—

pretorin recipe list prints the full loaded set, including any project- or user-folder recipes.

FedRAMP change and incident records

All commands require --framework; --system defaults to active context.

CommandDescription
pretorin system significant-changes listList records (--framework, --system, --limit, --offset)
pretorin system significant-changes get RECORD_IDRead a record (--framework, --system)
pretorin system significant-changes createRecord a change (--framework, --system, --change-type, --description, --data)
pretorin system significant-changes update RECORD_IDPartial update (--framework, --system, --change-type, --description, --data)
pretorin system incidents listList reports (--framework, --system, --limit, --offset)
pretorin system incidents get RECORD_IDRead a report (--framework, --system)
pretorin system incidents createRecord an incident (--framework, --system, --title, --description, --stage, --resolved-at, --data)
pretorin system incidents update RECORD_IDPartial update/stage advance (--framework, --system, --title, --description, --stage, --resolved-at, --data)

The issues risk-add and issues risk-confirm commands also accept --pain-rating, --internet-reachable/--no-internet-reachable, --likely-exploitable/--no-likely-exploitable, --next-pain-rating, --next-reduction-at, and --supplementary-risk-info. Provisional and confirmed behavior remains distinct. See FedRAMP changes and incidents.

KSI validation method health

CommandDescription
pretorin ksi methods listList registered methods, latest observations and 30-day counts (--framework required, --system, --ksi)

See KSI validation methods for method freshness, cloud-check mappings and recipe SDK helpers.

Certification package reads

CommandDescription
pretorin certification manifestRead a frozen manifest; --framework required, --system, --version, --output
pretorin certification artifact NAMEVerify and read an artifact; --framework required, --system, --format, --version, --output
pretorin certification versionsList frozen versions as JSON; --framework required, --system, --output
pretorin fedramp public-info FEDRAMP_IDRead opted-in provider information without sending credentials

Package reads need certification.read or admin and honor the token’s system binding. See Certification packages for integrity checks and download examples.