Add Omitted Rego Evaulation results to the ScubaResults.json #1458
Labels
enhancement
This issue or pull request will add new or improve existing functionality
Milestone
💡 Summary
When a ScubaGear policy check is omitted via a configuration file the results of the Rego evaluation are not captured within the
ScubaResults*.json
only within the currently default namedTestResults.json
.This enhancement is to add another property to the
ScubaResults*.json
, called something likeOmittedEvalationResults
orOmittedRegoResults
to capture this data.Motivation and context
To capture omission data in our new unified JSON rather having to pivot to either the
TestResults.json
or recreate the evaluation using theRaw
field in ScubaResults.jsonImplementation notes
The omitted interception is being done as an
if
statement inCreateReport.psm1
.Likely will require a bit of refactoring here or perhaps inside the
Merge-JSONOuput
function inOrchestrator.psm1
where the unifiedScubaResults.json
is created.Exercise for the implementer to tinker with where to implement this enhancement.
Acceptance criteria
ScubaResults*.json
The text was updated successfully, but these errors were encountered: