metanorma / oscal-ruby

Gem for accessing/writing OSCAL content
BSD 2-Clause "Simplified" License
4 stars 3 forks source link

Incorporate all functionality of convert2oscalyaml.rb script into gem #1

Closed ronaldtse closed 1 year ago

ronaldtse commented 1 year ago

The https://github.com/metanorma/oscal-ruby/blob/main/exe/convert2oscalyaml.rb script converts a proprietary YAML format (used for generating the ISO/IEC 27002 document at https://github.com/metanorma/iso-27002/) into the OSCAL YAML format.

It contains an implementation of the OSCAL models.

The goal is to move all the parsing and generation code to this gem, with the goal to create a metanorma-plugin-oscal gem that allows us to access OSCAL content from a Metanorma document. This is similar to how metanorma-plugin-glossarist works.

ronaldtse commented 1 year ago

@kwkwan can you please help handle this? Thanks.