Skip to content
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

Add Omitted Rego Evaulation results to the ScubaResults.json #520

Open
adhilto opened this issue Dec 5, 2024 · 0 comments
Open

Add Omitted Rego Evaulation results to the ScubaResults.json #520

adhilto opened this issue Dec 5, 2024 · 0 comments
Milestone

Comments

@adhilto
Copy link
Collaborator

adhilto commented Dec 5, 2024

💡 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 named TestResults.json.

This enhancement is to add another property to the ScubaResults*.json, called something like
OmittedEvalationResults or OmittedRegoResults 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 the Raw field in ScubaResults.json

Implementation notes

See cisagov/ScubaGear#1458 for the equivalent issue on ScubaGear.

Acceptance criteria

For any policies that are omitted, the Rego eval results are captured somewhere within the ScubaResults*.json

@adhilto adhilto added this to the Eel milestone Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant