Export scan results as NIST OSCAL assessment-results
export_oscalConvert a completed scan into a NIST OSCAL assessment-results JSON document for GRC platforms. Emits only not-satisfied findings and returns the document as a string, without writing files.
Instructions
Emits the scan as a NIST OSCAL assessment-results document (JSON), the machine-readable format used by GRC platforms and assessment tooling. Returned as a STRING; this server writes no files. Two deliberate limitations are stated inside the document itself: no official OSCAL catalog for SOC 2 exists, so criterion IDs are used descriptively; and only 'not-satisfied' findings are ever emitted — this tool never asserts 'satisfied', because the absence of a scanner finding is not evidence that a criterion is met.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchId | Yes | Batch ID returned by scan_iac |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | Size of the OSCAL JSON, which is returned in `content`, not here. | |
| oscalVersion | Yes | ||
| findingsEmitted | Yes | Only ever not-satisfied findings. 'satisfied' is never emitted. | |
| suggestedFilename | Yes |