You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running into a run_rego error when running the gws command
To reproduce
Steps to reproduce the behavior:
scubagoggles gws --subjectemail (redacted)
Then this error occurs
Expected behavior
The output would be done
Any helpful log output or screenshots
Paste the results here:
Running Rego verification for calendar...: 0%| | 0/10 [00:00<?, ?it/s]ERROR:root:--- OPA failed to execute from process error --- b''Traceback (most recent call last): File "/Users/x/Downloads/Scuba-main/path/to/venv/lib/python3.12/site-packages/scubagoggles/orchestrator.py", line 126, in _rego_eval results.extend(product_tests[0]) ~~~~~~~~~~~~~^^^KeyError: 0The above exception was the direct cause of the following exception:Traceback (most recent call last): File "/Users/x/Downloads/Scuba-main/path/to/venv/bin/scubagoggles", line 8, in <module> sys.exit(dive()) ^^^^^^ File "/Users/x/Downloads/Scuba-main/path/to/venv/lib/python3.12/site-packages/scubagoggles/main.py", line 143, in dive Orchestrator(args).start_automation() File "/Users/x/Downloads/Scuba-main/path/to/venv/lib/python3.12/site-packages/scubagoggles/orchestrator.py", line 419, in start_automation self._rego_eval() File "/Users/jx/Downloads/Scuba-main/path/to/venv/lib/python3.12/site-packages/scubagoggles/orchestrator.py", line 128, in _rego_eval raise Exception("run_rego error") from excException: run_rego error
The text was updated successfully, but these errors were encountered:
@axeljov That's a great suggestion. I've created an issue for it: #412.
@serialenabler, can you confirm if you've downloaded the executable as described here? If so, as it appears you're not running this on Windows, have you marked the file as executable? (e.g., chmod +x opa_darwin_amd64)
🐛 Summary
Running into a run_rego error when running the gws command
To reproduce
Steps to reproduce the behavior:
Expected behavior
The output would be done
Any helpful log output or screenshots
Paste the results here:
The text was updated successfully, but these errors were encountered: