Import Legacy SSP
Run the full legacy SSP import workflow for Cursor.
Before you start
Read:
AGENTS.mdagent-skills/oscal-document-engineering/SKILL.mdagent-skills/compliance-trestle-engineering/SKILL.mdplugins/document-transform/oscal-document-workbench/commands/ingest-ssp.md
This repository is an OSCAL and Compliance Trestle toolkit. FedRAMP Rev 5 heading maps and 20x KSI coverage are optional adapters. They are not the default product claim.
Steps
- Make sure you know the source files and the target workspace path. Usual path:
workspaces/<system>-ssp-import/. - Copy source documents into
input/. - Do not change the original files.
- Extract source text and section structure:
bash plugins/document-transform/oscal-document-workbench/scripts/extract-legacy-doc.sh <input> --output <workspace>/extracted
- Bootstrap or reuse a Compliance Trestle workspace:
bash plugins/document-transform/oscal-document-workbench/scripts/bootstrap-trestle-workspace.sh <workspace> [--profile <name>]
- Optionally import a real NIST or FedRAMP baseline when the source is a FedRAMP-style SSP:
bash plugins/document-transform/oscal-document-workbench/scripts/fetch-oscal-baseline.sh <workspace>/trestle-workspace --baseline moderate
- Draft a schema-valid SSP from extracted sections when Trestle is available:
bash plugins/document-transform/oscal-document-workbench/scripts/draft-ssp-from-extraction.sh <workspace> [--baseline-profile fedramp-rev5-moderate] [--overwrite]
Omit --baseline-profile to make offline stub catalog and profile models.
Replace stubs before authorization use.
For non-FedRAMP sources, do not treat the FedRAMP heading map as authoritative.
Keep unmatched sections needs_review.
- Map remaining content in
source-map.csv. Mark uncertain mappings asneeds_review. Do not invent compliance facts. - Build the review queue:
bash plugins/document-transform/oscal-document-workbench/scripts/build-review-queue.sh <workspace>/extracted/source-map.csv --output <workspace>/reports/review-queue.md
- Validate the package or document missing tools explicitly:
bash plugins/document-transform/oscal-document-workbench/scripts/validate-oscal-package.sh <workspace>/trestle-workspace --output <workspace>/reports/validation-report.json
- Optionally report FedRAMP 20x KSI documentation coverage:
bash plugins/document-transform/oscal-document-workbench/scripts/fetch-fedramp-2026-rules.sh
bash plugins/document-transform/oscal-document-workbench/scripts/ksi-coverage-report.sh <ssp.json> --output <workspace>/reports/ksi-coverage.md
- Make:
reports/import-summary.mdreports/validation-report.jsonreports/unmapped-items.mdreports/review-queue.md
Synthetic example
bash examples/legacy-ssp-to-oscal/scripts/run-example.sh
Safety
- Do not commit real customer SSPs or sensitive evidence.
- Schema-valid OSCAL does not prove compliance effectiveness.
- Require human review for all
needs_reviewand unmapped rows before assessment use.