compliance-trestle icon indicating copy to clipboard operation
compliance-trestle copied to clipboard

Move private class for building rule properties from task csv-to-oscal-cd to core for reuse

Open jpower432 opened this issue 1 year ago • 0 comments

Issue description / feature objectives

The csv-to-oscal-cd task has utilities for creating rule set properties that could be used outside of the context of CSV transformation. The objective of this feature would be to move them to core and make them public.

Caveats / Assumptions

Caveat: If there is any CSV specific logic in these classes , they would need to be refactored.

Completion Criteria

The following classes exist in core and are part of the public API:

  • https://github.com/IBM/compliance-trestle/blob/6cf498b26aa2a2d583714470038291b0567fb80a/trestle/tasks/csv_to_oscal_cd.py#L931
  • https://github.com/IBM/compliance-trestle/blob/6cf498b26aa2a2d583714470038291b0567fb80a/trestle/tasks/csv_to_oscal_cd.py#L946
  • https://github.com/IBM/compliance-trestle/blob/6cf498b26aa2a2d583714470038291b0567fb80a/trestle/tasks/csv_to_oscal_cd.py#L961
  • https://github.com/IBM/compliance-trestle/blob/6cf498b26aa2a2d583714470038291b0567fb80a/trestle/tasks/csv_to_oscal_cd.py#L1001

jpower432 avatar Nov 09 '23 17:11 jpower432