GovReady / govready-q

An open source, self-service GRC tool to automate security assessments and compliance.
https://q.govready.com
Other
179 stars 55 forks source link

Batch create CMMC component control content from existing content #1703

Closed gregelin closed 3 years ago

gregelin commented 3 years ago

Use a batch process to create component control implementation statements for CMMC catalog based on existing 800-53 control catalog component control implementation statements.

Create an admin command makecmmcstatements that accepts a list of component IDs and for each component looks at the existing statements. For each statement associated with a control ID that the CMMC catalog views as related, use that existing content to create a component control implementation statement for the related CMMC control.

This only creates control implementation statements for components in the library, not for component content in individual projects.

When creating the new CMMC statements associated with a component, also populate a new RemoteStatement model to track explicit "remote" control content relationships.

Also adding a JSONField to track a changelog for each change to a statement in order to eventually display a nice transaction log for a record.