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

FedRAMP changes and incidents

Use the platform’s FedRAMP 20x records to prepare significant change notifications (SCN) and incident reports (IEC). CLI and MCP commands save records; the platform projects them into the published FedRAMP JSON schemas when generating a package.

Every operation requires an explicit --framework. --system defaults to the active system. Reads require read; writes require write and an owner, admin, or member role. Organization access and single-system token bindings apply.

Significant changes

pretorin system significant-changes list --system SYSTEM_ID --framework fedramp-20x-class-c
pretorin system significant-changes get RECORD_ID --system SYSTEM_ID --framework fedramp-20x-class-c
pretorin system significant-changes create --change-type adaptive --description "Rotate the network edge" --system SYSTEM_ID --framework fedramp-20x-class-c
pretorin system significant-changes update RECORD_ID --data change-update.json --system SYSTEM_ID --framework fedramp-20x-class-c

create needs change_type (adaptive or transformative) and a nonblank description, supplied as flags or in --data. Both writes accept --data pointing to a JSON object; explicitly supplied flags override the same JSON keys. This exposes all platform fields, including reason, customer impact, impact analysis, impacted controls, assessor/approver details, planned dates and milestones. Dates use YYYY-MM-DD; a completion cannot precede a supplied start date.

Example partial change-update.json:

{
  "reason": "Replace end-of-life network devices",
  "planned_start": "2026-11-01",
  "planned_completion": "2026-11-02",
  "milestones": [{"description": "Verify replacement routes", "target_date": "2026-11-02"}]
}
CommandAdditional options
pretorin system significant-changes list--limit (1–200, default 10), --offset (default 0)
pretorin system significant-changes get RECORD_ID--system, --framework
pretorin system significant-changes create--change-type, --description, --data
pretorin system significant-changes update RECORD_ID--change-type, --description, --data

Incident reports

pretorin system incidents list --system SYSTEM_ID --framework fedramp-20x-class-c
pretorin system incidents get RECORD_ID --system SYSTEM_ID --framework fedramp-20x-class-c
pretorin system incidents create --title "Unusual access detected" --data initial-report.json --system SYSTEM_ID --framework fedramp-20x-class-c
pretorin system incidents update RECORD_ID --stage ongoing --data ongoing-report.json --system SYSTEM_ID --framework fedramp-20x-class-c
pretorin system incidents update RECORD_ID --stage final --resolved-at 2026-10-30T12:00:00Z --data final-report.json --system SYSTEM_ID --framework fedramp-20x-class-c

A create needs a nonblank title. Stages are initial (default), ongoing, and final. They advance on the same record. The platform rejects backward stage changes and requires a resolution time for a final report; a PATCH may reuse an existing resolution time. Each ongoing update records another ongoing-report time.

--data supports all report fields, including detection and report timestamps, coordinator details, current PAIN rating (the platform maintains rating history), affected agencies, indicators of compromise, CVE IDs, response/recovery actions, root cause and lessons learned. CVE IDs must use CVE-YYYY-NNNN format. PAIN ratings range from 0 through 5. Use ISO 8601 strings for timestamps.

CommandAdditional options
pretorin system incidents list--limit (1–200, default 10), --offset (default 0)
pretorin system incidents get RECORD_ID--system, --framework
pretorin system incidents create--title, --description, --stage, --resolved-at, --data
pretorin system incidents update RECORD_ID--title, --description, --stage, --resolved-at, --data

For example, a final-report JSON file can contain:

{
  "root_cause": "An expired credential remained active",
  "response_and_recovery_activities": "Revoked credentials and checked access logs",
  "lessons_learned": ["Remove credentials as part of offboarding"]
}

Partial updates and output

Update bodies contain only supplied fields. Omitted values stay unchanged; JSON null clears ordinary optional scalar fields, and [] clears lists. Report-stage timestamps follow the platform lifecycle rules rather than ordinary field clearing. Required change type/description/notification time and incident title/stage/initial-report time cannot be cleared. Empty patches and invalid inputs fail before HTTP. State-dependent rules, including existing date windows and incident stage progression, remain authoritative on the platform; their 409/422 errors are returned to the caller. A root --json selects machine-readable output.

The compatibility spelling pretorin systems significant-changes or pretorin systems incidents also works; system remains the canonical group.

PAIN on Issue risk evaluations

pretorin issues risk-add CONTROL_IMPL_ID ISSUE_ID --basis "Confirmed exploit path" --pain-rating 3 --internet-reachable --likely-exploitable --next-pain-rating 1 --next-reduction-at 2026-11-01T00:00:00Z

issues risk-add and issues risk-confirm accept --pain-rating, --internet-reachable/--no-internet-reachable, --likely-exploitable/--no-likely-exploitable, --next-pain-rating, --next-reduction-at, and --supplementary-risk-info. Omission leaves optional facts absent; rating 0 and explicit false values are preserved. A planned reduction requires a current rating plus both target rating and reduction time.

risk-add remains provisional. risk-confirm is an explicit governed confirmation that may supersede a risk acceptance or change the control gate. Only a confirmed evaluation with a PAIN rating contributes a VER-reportable vulnerability. pretorin issue risk-evaluate is a compatibility spelling for the provisional append, not a confirmation.

MCP

Eight tools expose the same scoped operations: list_significant_changes, get_significant_change, create_significant_change, update_significant_change, list_incidents, get_incident, create_incident, and update_incident. All require explicit system_id and framework_id; get/update also require record_id. Writes take record fields directly and enforce the active MCP context when one is set. Shared typed models drive both schemas and runtime parsing.

add_issue_risk_evaluation and confirm_issue_risk_evaluation accept the six PAIN facts using API field names (next_pain_reduction_at and supplementary_risk_information for the CLI’s shorter spellings). Existing Issue scope and lifecycle checks still apply. Normal MCP paging retains large results.