usnistgov / OSCAL

Open Security Controls Assessment Language (OSCAL)
https://pages.nist.gov/OSCAL/
Other
659 stars 179 forks source link

Abstract Information Model for OSCAL #2031

Open davaya opened 1 month ago

davaya commented 1 month ago

User Story

As an OSCAL model developer, I need a succinct way to view, understand, and propose refinements to the model.

As a new OSCAL user, I need a succinct technical overview of the OSCAL models.

Goals

The goal is to create a feature-* branch to propose abstract information model content for OSCAL. OSCAL is defined using Metaschema which is based on text content of the models. An abstract IM is an alternative higher-level way to define, view and generate the same models, similar to the way the structure of web pages can be defined using bare-bones HTML and then customized for appearance using CSS.

logical-types

As an example of how it might be used, this is a hypothetical proposal to update the Catalog model from a nested set of Controls and control groups to unified flat lists of controls and groups. The advantage of the abstract IM is that it allows the structure of Catalog to be seen and discussed at a higher level than at the XML document level. oscal catalog list

Another example is a graph of the assessment-common types. The large set of types results in a large graph, but the abstract view may still be more approachable than the XML specification. This graph was generated from the abstract IM, which in turn was generated from the 1.1.2 release files.

oscal-assessment-common-erd

The feature branch would be populated with proof-of-concept code to generate abstract IMs from OSCAL releases as they are developed. If this proves useful to the OSCAL community, it could be developed toward production-ready with documentation and test suites

Dependencies

None. OSCAL releases are the input to the IM generator; OSCAL content is input to the validation tests. Testing and schema robustness would be greatly enhanced by a larger collection of both good and bad (undesirable but not rejected) documents.

Acceptance Criteria

(For reviewers: The wiki has guidance on code review and overall issue review for completeness.)

Revisions

No response

iMichaela commented 1 month ago

@davaya - David, than you for creating the issue that describes your proposed Information Model representation of OSCAL. Looking forward to your proof of concept code. The feature-information-model branch was created from develop branch.