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

checkov fails to download module when using shallow clone in tf module source #6897

Open
stevec1980 opened this issue Dec 9, 2024 · 2 comments

Comments

@stevec1980
Copy link

stevec1980 commented Dec 9, 2024

When a terrform modules source uses shallow clone e.g. &depth=1, checkov fails to download the module but the scan completes.

We would like to request 2 things:

  1. That checkov supports shallow clone as this can drastically increas performance when scanning many modules in a pipeleine.
  2. That if a module is failed to be downloaded by checkov that it also exists with a non 0 code so that the pipeline fails.
@stevec1980 stevec1980 changed the title check failes to download module when using shallow clone in module source checkov fails to download module when using shallow clone in tf module source Dec 9, 2024
@stevec1980
Copy link
Author

bump

@mannycepeda1989
Copy link

Good afternoon @stevec1980 can you please provide an example file and the debug logs of the failure?

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

2 participants