metanorma / metanorma-standoc

Metanorma for Standoc documents
BSD 2-Clause "Simplified" License
5 stars 2 forks source link

Investigate OSCAL for supplementing requirements model #52

Open ronaldtse opened 5 years ago

ronaldtse commented 5 years ago

Sample: https://raw.githubusercontent.com/usnistgov/OSCAL/master/content/nist.gov/SP800-53/rev4/NIST_SP-800-53_rev4_catalog.xml

opoudjis commented 5 years ago

https://pages.nist.gov/OSCAL/examples/

opoudjis commented 5 years ago

https://www.metanorma.com/author/topics/document-format/requirements-recommendations-permissions/ : documentation of what we have

https://github.com/metanorma/metanorma-requirements-models: formal model, UML and RNC grammar

anermina commented 5 years ago

URL update for OSCAL sample: https://raw.githubusercontent.com/usnistgov/OSCAL/master/content/nist.gov/SP800-53/rev4/xml/NIST_SP-800-53_rev4_catalog.xml

I guess the second URL is now: https://pages.nist.gov/OSCAL/documentation/examples/

anermina commented 5 years ago

OSCAL structure: Top level containers: "profile", "catalog" Sub-containers: "metadata", "group", "back-matter", "import", "merge", "modify" Sub-sub-containers: "control", "prop", "link", "role", "party", "responsible-party", "org", "address", "addr-line", "param", "part", "citation", "resource", "rlink", "insert", "call", "include" Attributes and elements: "title", "last-modified", "version", "oscal-version", "org-name", "city", "state", "postal-code", "email", "party-id", "label", "target", "as-is", "desc" Sub-sub-container attributes: "name", "rel", "href", "class", "media-type", "id", "param-id", "control-id", "role-id", "position"

METADATA -> contains "role", "party", "responsible-party" (can also contain "prop" and "link"), and attributes "title", "last-modified", "version" and "oscal-version"

GROUP -> contains "control" and attributes "title", "class" and "id"

BACK-MATTER -> contains "resource", "citation"

IMPORT -> contains "include" and uses "href" attribute (e.g. '#catalog')

MERGE

MODIFY -> contains "alter"

opoudjis commented 5 years ago

Wow. Thank you @anermina. I don't have the headspace to investigate this now, but this gives me a start. And I can already see that this is radically different to the modelling we have done...

ronaldtse commented 4 years ago

Under the new thinking, OSCAL represents one way of modeling a requirement. Metanorma should support multiple ways of modeling requirements, and for sure we should support OSCAL.

opoudjis commented 1 year ago

No longer a priority