cisagov / ScubaGoggles

SCuBA Secure Configuration Baselines and assessment tool for Google Workspace
https://www.cisa.gov/resources-tools/services/secure-cloud-business-applications-scuba-project
Creative Commons Zero v1.0 Universal
164 stars 22 forks source link

Add check to ensure OPA executable is available #412

Open adhilto opened 2 months ago

adhilto commented 2 months ago

💡 Summary

Before attempting to execute OPA, first check to ensure the executable is available and at least the minimum version, and provide a helpful error message if not.

Motivation and context

If you try running ScubaGoggles without the executable, the error message does not provide the user with actionable information.

Implementation notes

See https://github.com/cisagov/ScubaGoggles/issues/410.

Acceptance criteria