IF Commons GitHub

serializers/oscal/mod

Written to: 3 requirements: 2 proved, 1 partly, 0 failing, 0 with no test recorded. 0004-grc-documents FR-005, 0004-grc-documents FR-006, 0004-grc-documents FR-007

The oscal serializer (0004-grc-documents FR-006, FR-007): an assessment written as OSCAL JSON, as assessment-results, a system-security-plan of what is implemented, or a plan-of-action-and-milestones of what is open, by the option model. Every uuid is a version 5 UUID of the assessment's id and a stable name, so that the same assessment gives the same document. A control is written by its own id (the last part of its URN) with its framework in a property; where the caller names a framework option, a crosswalk of equal gives the control of that framework.

Source: commons/grc/src/serializers/oscal/mod.ts

1 of 2 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

OSCAL_VERSIONconstno test imports it
const OSCAL_VERSION: "1.2.3"

The version of OSCAL the documents are written as.

oscalconst
const oscal: Serializer

The oscal serializer: option model is assessment-results (the default), system-security-plan or plan-of-action-and-milestones.

Imported by 13 tests of the run (12 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.