-
Notifications
You must be signed in to change notification settings - Fork 100
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
Seeing An Issue Downloading External Terraform Modules #136
Comments
Having same issue here |
For anyone hitting the same issue, the latest docker image tag is problematic, this one works - name: Run Checkov action
id: checkov
uses: bridgecrewio/checkov-action@94be32d33f46ce5f2f07200bb5df4f5036b7296c
with:
output_format: sarif
download_external_modules: true |
btw this only occurs for external modules for GCP related, not sure if its their codes that are problematic as well |
that looks to work for me @thepoppingone -- thx for the suggestion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Starting this morning, we started seeing the following in our github actions workflows:
checkov -d . --output sarif --soft-fail --download-external-modules true
Error: -16 16:25:59,538 [MainThread ] [ERROR] Exception traceback:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/checkov/main.py", line 498, in run
exit_codes.append(self.print_results(
File "/usr/local/lib/python3.10/site-packages/checkov/main.py", line 651, in print_results
return runner_registry.print_reports(
File "/usr/local/lib/python3.10/site-packages/checkov/common/runners/runner_registry.py", line 408, in print_reports
print(report.print_console(
File "/usr/local/lib/python3.10/site-packages/checkov/common/output/report.py", line 306, in print_console
output_data += record.to_string(compact=is_compact, use_bc_ids=use_bc_ids)
File "/usr/local/lib/python3.10/site-packages/checkov/common/output/record.py", line 207, in to_string
"\tFile: {}:{}\n".format(self.file_path, "-".join([str(x) for x in self.file_line_range])), "magenta"
TypeError: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/usr/local/bin/checkov", line 9, in
sys.exit(Checkov().run())
File "/usr/local/lib/python3.10/site-packages/checkov/main.py", line 498, in run
exit_codes.append(self.print_results(
File "/usr/local/lib/python3.10/site-packages/checkov/main.py", line 651, in print_results
return runner_registry.print_reports(
File "/usr/local/lib/python3.10/site-packages/checkov/common/runners/runner_registry.py", line 408, in print_reports
print(report.print_console(
File "/usr/local/lib/python3.10/site-packages/checkov/common/output/report.py", line 306, in print_console
output_data += record.to_string(compact=is_compact, use_bc_ids=use_bc_ids)
File "/usr/local/lib/python3.10/site-packages/checkov/common/output/record.py", line 207, in to_string
"\tFile: {}:{}\n".format(self.file_path, "-".join([str(x) for x in self.file_line_range])), "magenta"
TypeError: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered: