Skip to content

Commit

Permalink
Merge pull request #14 from IBM/fix/xlsx-to-cd-demo
Browse files Browse the repository at this point in the history
Demo updates commensurate with trestle task xlsx-to-cd changes.
  • Loading branch information
degenaro authored Apr 5, 2022
2 parents 1d92c91 + e76b988 commit 9933021
Show file tree
Hide file tree
Showing 7 changed files with 254 additions and 325 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# compliance-trestle-task-osco-to-oscal-demo
# compliance-trestle-task-osco-result-to-oscal-ar-demo

Simple example of using trestle to facilitate transforming OSCO results to OSCAL (partial) results.

Expand Down Expand Up @@ -27,15 +27,15 @@ Running the demo

```
> cd
> cd git/compliance-trestle-demos/trestle_task_osco_to_oscal
> cd git/compliance-trestle-demos/trestle_task_osco_result_to_oscal_ar
> trestle init
> trestle task osco-to-oscal -c ./demo-osco-to-oscal.config
> trestle task osco-result-to-oscal-ar -c ./demo-osco-result-to-oscal-ar.config
output: osco/runtime/ssg-ocp4-ds-cis-111.222.333.444-pod.oscal.json
inventory: 1
observations: 125
results: {}
Task: osco-to-oscal executed successfully.
Task: osco-result-to-oscal-ar executed successfully.
```

Viewing the result
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[task.osco-to-oscal]
[task.osco-result-to-oscal-ar]

input-dir = osco/input
output-dir = osco/runtime
Expand Down
4 changes: 2 additions & 2 deletions trestle_task_spread_sheet_to_component_definition/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Running the demo

> cd
> cd git/compliance-trestle-demos/trestle_task_spread_sheet_to_component_definition
> trestle task xlsx-to-oscal-component-definition -c ./demo-xlsx-to-component-definition.config
> trestle task xlsx-to-oscal-cd -c ./demo-xlsx-to-cd.config

catalog: trestle-workspace/catalogs/nist-sp-800-53-rev4/catalog.json
input: demo.xlsx
Expand All @@ -39,7 +39,7 @@ Running the demo
rows missing parameters: [2, 7, 8]
rows missing parameters values: [5]
output: trestle-workspace/catalogs/catalog.json
Task: xlsx-to-oscal-component-definition executed successfully.
Task: xlsx-to-oscal-cd executed successfully.

Viewing the result

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[task.xlsx-to-oscal-component-definition]
[task.xlsx-to-oscal-cd]

catalog-file = trestle-workspace/catalogs/nist-sp-800-53-rev4/catalog.json
spread-sheet-file = demo.xlsx
Expand Down

This file was deleted.

Loading

0 comments on commit 9933021

Please sign in to comment.