Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.43 KB

sync-oscal-content.md

File metadata and controls

38 lines (26 loc) · 1.43 KB

The trestlebot command line sync-oscal-content Tutorial

This tutorial provides how to use trestlebot sync-oscal-content sync OSCAL models to CaC content.

Currently, this command has one sub-command: cac-control

cac-control

This command is to sync OSCAL Component Definition files to CaC content profile file and control files.

The CLI performs the following sync:

  • Sync OSCAL component definition parameters/rules changes to CaC content profile file
  • Sync OSCAL component definition parameters/rules changes to CaC content control file

1. Prerequisites

2. Run the CLI sync-oscal-content cac-control

poetry run trestlebot sync-oscal-content cac-control \ 
--branch main \
--cac-content-root $cac-content-dir \
--committer-name test \
--committer-email test@redhat.com \
--dry-run \
--repo-path $trestlebot-workspace-dir \
--product $product-name

For more details about these options and additional flags, you can use the --help flag: `poetry run trestlebot sync-oscal-content cac-control --help' This will display a full list of available options and their descriptions.