Convert FedRAMP XLSX to OSCAL POA&M
trestle_task_xlsx_to_oscal_poamConverts FedRAMP XLSX spreadsheets to OSCAL POA&M JSON, parsing required columns and auto-generating linked observations and risks with deterministic UUIDs.
Instructions
Convert a FedRAMP XLSX spreadsheet to an OSCAL POA&M JSON file.
This tool runs the trestle task xlsx-to-oscal-poam command, which reads a FedRAMP-format .xlsx spreadsheet and produces an OSCAL plan-of-action-and-milestones .json file. The converter auto-generates the observations[] and risks[] and cross-links each poam-item to them with deterministic UUIDs.
This command must run inside a trestle workspace: initialize one first with trestle_init and pass its path as trestle_root (or run from within it).
The spreadsheet must have:
Row 1: title
Rows 2-4: instructions (ignored)
Row 5: column headers
Row 6+: data rows
Required columns:
POAM ID, Weakness Name, Weakness Description, Controls
Args: params (TrestleTaskXlsxToOscalPoamInput): Input parameters with: - title (str): POA&M title (required) - version (str): POA&M version (required) - xlsx_file (str): Path to the input .xlsx file (required) - output_dir (str): Output directory for the OSCAL JSON (required) - work_sheet_name (Optional[str]): Worksheet name (default: 'Open POA&M Items') - system_id (Optional[str]): System identifier (optional) - output_overwrite (bool): Overwrite existing output (default: true) - validate_required_fields (str): Required-field check: on/warn/off (default: warn) - quiet (bool): Suppress per-item output (default: false) - trestle_root (Optional[str]): Trestle workspace root path (optional) - verbose (bool): Display verbose output (optional)
Returns: str: Success or error message with output file location
Examples: - Use when: "Convert this FedRAMP POA&M spreadsheet to OSCAL" - Use when: "Generate plan-of-action-and-milestones.json from an xlsx" - Don't use when: The input is a CSV, or is missing required columns
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |