forked from oscal-compass/compliance-to-policy-go
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CPLYTM-467] feat: initial work to create assessment results generator (
#9) * feat: initial work to create assessment results generator Signed-off-by: George Vauter <[email protected]> * fix: make c2p importable When trying import C2P Go, the operation fails because of the ":" character in the testdata is not valid against go module.CheckFilePath. Add an empty go.mod will exlude the testdata when importing the top-level module. Signed-off-by: Jennifer Power <[email protected]> * feat: adds findings to assessment results Signed-off-by: George Vauter <[email protected]> * fix: updates code for changes in oscal-sdk-go Signed-off-by: Jennifer Power <[email protected]> * add unit tests for better coverage of the reporter helper funcs Signed-off-by: George Vauter <[email protected]> * add basic logger with info messages Signed-off-by: George Vauter <[email protected]> * add test logger Signed-off-by: George Vauter <[email protected]> * implement c2p config in reporter Signed-off-by: George Vauter <[email protected]> * feat: adds Settings to PluginManager operations To allow customization based on implementations for specific compliance frameworks, a Settings input has been added to GeneratePolicy and AggregateResults methods to alter the RuleSets passed to plugins based on settings from a given control implementation. Signed-off-by: Jennifer Power <[email protected]> * accept pvp results value instead of pointer Signed-off-by: George Vauter <[email protected]> * fix: address pr feedback Signed-off-by: George Vauter <[email protected]> * fix: don't add findings to result if none were generated Signed-off-by: George Vauter <[email protected]> --------- Signed-off-by: George Vauter <[email protected]> Signed-off-by: Jennifer Power <[email protected]> Co-authored-by: Jennifer Power <[email protected]>
- Loading branch information
Showing
8 changed files
with
587 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.