RedHatProductSecurity / trestle-bot

A workflow automation tool for `compliance-trestle`
https://redhatproductsecurity.github.io/trestle-bot/
Apache License 2.0
8 stars 11 forks source link

init command should run create-ssp if oscal-model is set to ssp #342

Closed gvauter closed 2 months ago

gvauter commented 2 months ago

Describe the solution you'd like The init command should run the create-ssp logic when the --oscal-model is set to ssp. This will allow a single command to fully initialize the repo for ssp authorthing. Currently a user needs to run the init command and then run the create-ssp command separately. A CLI flag can be used to "skip" the create-ssp flow if desired.

Describe alternatives you've considered The commands could be run separately.

gvauter commented 2 months ago

Closing this based on decision implemented in https://github.com/RedHatProductSecurity/trestle-bot/pull/344 to no longer write provider files during init command.