-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPLYTM-224 OSCAL Profiles organized by level task and command (WIP) #410
base: main
Are you sure you want to change the base?
Conversation
docs: update README.md emoji placement
I saw that many commits are minor incremental updates on the same lines. Considering the number of commits already in this PR, it would be good to squash all these similar minor changes in a single commit to make it easier to review. What do you think? |
@marcusburghardt You're absolutely right. I plan on rebasing once the PR is no longer in draft mode. |
…n with CLI feat: updating sync cac content profile task logic feat: updating CLI options for oscal_profile_cmd fix: sync profile task execution update # Conflicts: # trestlebot/cli/commands/sync_cac_content.py # trestlebot/tasks/sync_cac_content_profile_task.py
The initial setup for the interaction of the subcommand interacting with the task. The unit tests included testing for invalid subcommand for the `sync_cac_content_cmd`, and missing required click options from the CLI.
docs: updating docstrings for SyncCacContentProfileTask docs: updating docstrings for SyncCacContentProfileTask
docstrings The updated docstrings will explain the arguments and return types associated with the SyncCacContentProfileTask and the `oscal-profile` sub-command of the `sync-cac-content-cmd`. The unit tests included test for invalid sub-command provided to the `sync_cac_content_cmd`, and missing required click options from the CLI.
@hbraswelrh I see another PR #419 for CPLYTM-224, is this one deprecated? |
Description
The
sync_cac_content_profile
sub-command will provide users with the ability to indicate the control file for use when authoring OSCAL profiles within trestle-bot. This PR will include a task that interacts directly with the CLI to sort the contents of the control files by level. The level indicated is included in the authored OSCAL profile title and is tailored to the baseline. If there is no level associated with the control file, the task will create a single profile with all controls.Fixes # (issue)
Type of change
How has this been tested?
Test Configuration:
Checklist