What do I do if GitHub workflow tests via PAT are failing due to a missing library?
When trying to test using Panther Analysis Tool (PAT), I am getting an error due to a missing library. The error looks similar to the following:
No module named 'policyuniverse'
To resolve this issue:
- Confirm you are on the current PAT version by running the command
panther_analysis_tool -- version.
- Confirm no changes have been recently made in your pipeline.
- Run either of the following commands:
make install make test
pipenv install --dev # if not using Pipfile.lock pipenv sync --dev # if using Pipfile.lock pipenv pipenv run python global_helpers/*_test.py pipenv run panther_analysis_tool test
The cause of this issue varies for each individual organization. If none of these commands resolve your issue, please reach out to Panther Support.